Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In the range, MYRange I want each cell to have it's own little subrange
to search. I try and do it below. When it gets to Subrange(cell)= it uses the value of cell instead of cell as a range and delivers an out of range error (or identifies the incorrect range using the Cell value). Thanks John ------------------------- Dim Cell as Range Dim Myrange as range, Anotherrange as Range etc. Set Myrange=(whatever)) Set Anotherrange= a range with offsets of cell etc. Dim Subrange(100) as Range For Each Cell in MyRange Subrange(Cell)=Union(AnotherRange, YetAnotherrange, AndAnotherrange) Next |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using for loop counter as a cell reference | Excel Programming | |||
How do I set up a counter cell? | Excel Worksheet Functions | |||
how do I make a counter cell in excel | Excel Programming | |||
Cell counter | Excel Discussion (Misc queries) | |||
Macro selecting wrong cell range | Excel Programming |