Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I get a Run time error - application or object-defined error if I run
the followign code with an active sheet other than the one the range is on (NumRowPN = 7 atm): ThisWorkbook.Names("RunTime6").RefersToRange.Range ("A1").Range(Cells(2, 1), Cells(1 + NumRowPN, 1)).ClearContents Any help is appreciated. And I realize I can just activate the sheet first but I would prefer not to. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Subscript out of range error - save copy error | Excel Programming | |||
Range.Select error and screen maximizing error in Workbook_Open() | Excel Programming | |||
Range.Select error and screen maximizing error in Workbook_Open() | Excel Programming | |||
Help with this error Unknown reason for error with Range().Select | Excel Programming | |||
Type Mismatch error & subscript out of range error | Excel Programming |