Selecting Noncontinuous Ranges by Name in an Excel MacroID: Q49425
|
To select more than one range in a macro, the ranges can be named and
then used in a SELECT statement, as in the following sample macro:
=ACTIVATE("Sheet2")
=SELECT("area1,area2,area3")
Cell Range Defined As
---------- ----------
A1 to C3 area1
D5 to G7 area2
A9 to G12 area3
Additional query words:
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: March 15, 1999