![]()
Worksheets.Add Type:="C:\somePath\the file I saved earlier.xls"
![]()
Worksheets.Add Type:="C:\somePath\the file I saved earlier.xls"
Entia non sunt multiplicanda sine necessitate
Thanks for the help. I tried it but I get an error: Run-time error '1004': Method 'Add' of object 'Sheets' failed. Any idea?
Did you change the path and filename as appropriate?
I'm pretty sure. I've looked at through debugger. I even tried to use a hard coded path instead but no luck.
Hmm. Try
![]()
Sheets.Add Type:="C:\somePath\the file I saved earlier.xls"
Exactly the same error!!!
I'm obviously doing something wrong but what?
Got it. It's:
Sheets.Add Type:="C:\somePath\the file I saved earlier"
Weird. Thank you!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks