Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inconsistency in how Range object is accepted?
Why is it that this statement is acceptable:
With WorksheetsToFormat(N).Range("A2:G65536") But this one isn't? With WorksheetsToFormat(N).Range(Cells(2,1),Cells(65536 ,7)) When I try to use the second one, I get an error that the Range object failed. WorksheetsToFormat is declared as: Dim WorksheetsToFormat(1 to 8) as Worksheet |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel inconsistency | Excel Discussion (Misc queries) | |||
returning pivottable object from a range object | Excel Programming | |||
Range object to Array object conversion | Excel Programming | |||
Range object to Array object conversion | Excel Programming | |||
Range object to Array object conversion | Excel Programming |