Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Is there a way to do the below implicitly in a loop or as array? Thank you! Dim States As Range Dim Alaska As Range, Alabama As Range, Arizona As Range 'etc Set States = Range("a2:a51") With States Set Alaska = .Cells.Find("Alaska", lookat:=xlWhole, MatchCase:=False) Set Alabama = .Cells.Find("Alabama", lookat:=xlWhole, MatchCase:=False) '... '.. 'etc End With -- ______ Regards, Greg |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding a range with three variables | Excel Discussion (Misc queries) | |||
Range of variables | Excel Programming | |||
Describing a Range with Variables | Excel Programming | |||
Naming Range Variables | Excel Programming | |||
Range Variables | Excel Programming |