Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
opening a workbook in the current directory
I'm trying to determine whether or not this can be done using VBA:
Using Windows Explorer, say, I double-click to open an Excel file located in a directory other than the default Excel directory. In this workbook is VBA code that attempts to open another workbook located in the same directory: Workbooks.Open "XYZ.xls" The operation fails, apparently because it's looking in the default Excel directory. Is there a way to specify that the program look in the current, working directory? Rich |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can a spreadsheet recognize the current directory it is in? | Excel Discussion (Misc queries) | |||
current directory | Excel Discussion (Misc queries) | |||
Current Directory | Excel Discussion (Misc queries) | |||
Update Links to current Directory?? | Excel Discussion (Misc queries) | |||
OPENING A FILE LOCATED IN A DIRECTORY DIFFERENT FROM CURRENT DIRECTORS | Excel Programming |