Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
if each element is a range object, then thay each are on a specific sheet and
need no qualification. however, you can't just use myarray.find with an array of range objects. if all the references are on a single sheet you might try set r = myArray(lbound(myArray)) for i = lbound(myArray)+1 to Ubound(myArray) set r = Union(r,myarray(i)) Next set c = r.find(1,lookin:=xlvalues), else you will have to search each element of the array in a loop. -- Regards, Tom Ogilvy " wrote: Hello, I am trying to search through the elements in an array (each of which is a range object). I would like to use something like set c=worksheets(1).myarray.find(1,lookin:=xlvalues), but this doesn't work. Any tips? Regards, Calvin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find duplicate values in an array | Excel Discussion (Misc queries) | |||
Is there a method to find distinct values in a column | Excel Programming | |||
Find method - finding multiple values | Excel Programming | |||
Create a Chart with Values from Array AND NOT from Ranges | Charts and Charting in Excel | |||
find minimum values in recurring ranges--expert | Excel Programming |