D
DarrellK
Why does the following code produce a "subscript out of range error"?
Workbooks("C:\Darrell\Cash Flow Reports\recovered jan 2006\2006 Jan-Sep
CAPEX Loadsheet Actuals.xls").Worksheets("Worksheet Totals").Activate
To assist with your answer to this question:
The code is written in a file in the directory C:\Darrell\Cash Flow
Reports\TestVB.
The path and file name were copied directly from explorer.
If I place this file in the same directory as the file which contains the
code and do not use the directory path "C:\Darrell\Cash Flow
Reports\recovered jan 2006\", I get no error.
I would appreciate any insight you may have to solving my problem.
Thanks.
Workbooks("C:\Darrell\Cash Flow Reports\recovered jan 2006\2006 Jan-Sep
CAPEX Loadsheet Actuals.xls").Worksheets("Worksheet Totals").Activate
To assist with your answer to this question:
The code is written in a file in the directory C:\Darrell\Cash Flow
Reports\TestVB.
The path and file name were copied directly from explorer.
If I place this file in the same directory as the file which contains the
code and do not use the directory path "C:\Darrell\Cash Flow
Reports\recovered jan 2006\", I get no error.
I would appreciate any insight you may have to solving my problem.
Thanks.