Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Keith R wrote:. . .If Excel
is going to see this as a 2-D range, is there a way to (easily) use Application.Match against this range, or am I forced to loop through and assign all the values one at a time to a 1D array? For a single column or single row 2-d array, just use Application.Match directly; works fine. Is there a way to redim preserve this array to turn it into a 1-D array, or a different way to grab it up front to force it into a 1-D array from the start (other than looping)? Thanks! Keith For a single-column Variant() array that's not too large (less than 65537 elements in current versions, 5461 elements in earlier versions) arr = Application.Transpose(arr) will convert it to a 1-based 1-D array. Alan Beban |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
for each in range gives variant array | Excel Programming | |||
Application-defined or object-defined error (worksheet, range, sel | Excel Programming | |||
Copying A Range of Cells From one Sheet to Another - Error Application Defined or Object Defined | Excel Programming | |||
Range - Application Defined or Object Defined Error | Excel Programming | |||
Defined Name Range (Application.Match) | Excel Programming |