lookingforK
Registered User.
- Local time
- Today, 12:37
- Joined
- Aug 29, 2012
- Messages
- 48
Hi,
I am using the following code to use Template.xlsx file that is under the path "C:\App":
But, I got error message, i.e.:
After I select the path "C:\App" in the popup folder picker dialog box, there is always an error message like: "C:\Template.xlsx cannot be found. Check your spelling, or try a different path.".
What's wrong?
Why I select "C:\App" but get "C:\" error? :banghead:
Thank you inadvance.
I am using the following code to use Template.xlsx file that is under the path "C:\App":
Code:
Application.FileDialog(msoFileDialogFolderPicker).Show
strReportPath = CurDir ()
Set wkbDest = xl.Workbooks.Open(strReportPath & "\Template.xlsx")
But, I got error message, i.e.:
After I select the path "C:\App" in the popup folder picker dialog box, there is always an error message like: "C:\Template.xlsx cannot be found. Check your spelling, or try a different path.".
What's wrong?
Why I select "C:\App" but get "C:\" error? :banghead:
Thank you inadvance.
Last edited: