Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This code sequence worked fine sometime ago, but not now.
ChDir "C:\BofQProject\QSBofQ\" Workbooks.Open Filename:="NewQSBofQ.xls", _ Editable:=False The error is reporting that the file could not be found, and yet it is clearly there. The path and filename are correct. What might be happening, please? Regards. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just a little further information:
I copied the filename (without quotes) from the code, clicked StartSearchAll files and folders and then pasted it into the box. Clicked Search. It listed the file in: C:\BofQProject\QSBofQ. "Stuart" wrote in message ... This code sequence worked fine sometime ago, but not now. ChDir "C:\BofQProject\QSBofQ\" Workbooks.Open Filename:="NewQSBofQ.xls", _ Editable:=False The error is reporting that the file could not be found, and yet it is clearly there. The path and filename are correct. What might be happening, please? Regards. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe you were on a different drive.
I'd add: chdrive "C:" before the chdir line. Stuart wrote: Just a little further information: I copied the filename (without quotes) from the code, clicked StartSearchAll files and folders and then pasted it into the box. Clicked Search. It listed the file in: C:\BofQProject\QSBofQ. "Stuart" wrote in message ... This code sequence worked fine sometime ago, but not now. ChDir "C:\BofQProject\QSBofQ\" Workbooks.Open Filename:="NewQSBofQ.xls", _ Editable:=False The error is reporting that the file could not be found, and yet it is clearly there. The path and filename are correct. What might be happening, please? Regards. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Resolve Error in opening Excel File zip file from a CD? | Excel Discussion (Misc queries) | |||
Error opening edited XML file - Where is the error log? | Excel Discussion (Misc queries) | |||
"Unable to read file" error message when opening a Excel file that contains a PivotTable report. | Charts and Charting in Excel | |||
Error:Invalid File format,while opening an Excel Template file | Excel Programming | |||
excel opening file error | Excel Discussion (Misc queries) |