Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
to open a workbook if it is not already open:
dim path as string path = " letter:\...\\workbook.xls" If Workbooks(path).IsOpen = False Then workbooks.open filename:=path Gives subscript out of range. The solutions i found by searching the forum are a bit long-winded - why doesn't the above work? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Slight Error in my Simple code | Excel Programming | |||
Application-Defined or Object-Defined Error on simple code | Excel Programming | |||
Application-Defined or Object-Defined Error on simple code | Excel Programming | |||
Out of space stack error, simple code? | Excel Programming | |||
Simple code error statement | Excel Programming |