Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Yes, indeed I did. Thanks for the information, it saved the little bit of
hair I have left. "Dave Peterson" wrote: I bet you left off this line, too: On Error Resume Next And if you go into the VBE (on both pc's), you'll find a difference in a setting. Look at Tools|Options|General tab One has "Break on all errors" checked (the one that failed). and the other has one of the other options checked. I use "break in class module" Steve wrote: I used the following two methods to determine the existence of a spreadsheet on one system, but using the same statements on another system I get Error 9, subscript out of Range. Both systems are running Windows XP and Office 2003. The worksheet does not exist at the time either of these statements are executed. If Len(Worksheets("XYZ").Name) 0 then do this or that Worksheets("XYZ").Activate If Err.Number < 0 then do this or that Why do these work on one system and not the other? Is it possible that there is a setting that needs to be change within Excel to make this work? Very perplexing. Any assistance would be greatly appreciated. Thank you in advance. -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error:Subscript out of range | Excel Discussion (Misc queries) | |||
what does 'Subscript Out of range' mean?? | Excel Worksheet Functions | |||
subscript out of range error in excell | Excel Discussion (Misc queries) | |||
9: Subscript out of range | Excel Discussion (Misc queries) | |||
Subscript out of range error | Excel Discussion (Misc queries) |