Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
varr is a Variant array. I wish to load it with names of sheets in the
activeworkbook. I have: If Global_PrintAllBooks_Sheets = True Then ReDim varr(1 To Worksheets.Count) For i = 1 To UBound(varr) varr(i) = ws.Name i = i + 1 Next I receive run time error 91 (Object variable or With block variable not set) on varr(i) = ws.Name Why is this please? Regards. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Warehouse load sheet - Help!! | Excel Discussion (Misc queries) | |||
How to load multiple names ? | Excel Discussion (Misc queries) | |||
XL2007 and array of sheet names? | Excel Discussion (Misc queries) | |||
return all worksheet tab names and chart sheet tab names in report - an example | Excel Programming | |||
Sheet Names Array | Excel Programming |