The error usually occurs in Excel if
- Any formula tries to access a column or range that does not exist in the sheet
- Any VBA code tries to access a range that is out of range
Hope that helps.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
i try'd
workbooks.open "G:\path\file.xlsx"
and also without the path
but i get error 1004 whatever i try
The error usually occurs in Excel if
Hope that helps.
Hi! @Leo 1954
●Is the file name specified correctly?
・ Path full address
・ File name
・ Extension .xlsm or .xlsm?
●may need a plug-in?
Introducing the Google Drive plug-in for Microsoft Office
https://drive.googleblog.com/2015/07/google-drive-plug-in-for-office.html
Hope its helps.
How do you open the file? Do you use VBA macro to open it?
If yes, we are responsible for general issues about Office desktop applications.
Since your issue is related to VBA macro which is out of our scope of support. I would change the tag to be “not-supported”.
To better help you, I would suggest you to post your issue on the Excel for Developers forum.
If you have any updates, you could also share the solution on this thread.
If no, double-click the Excel application to see if there are any errors.
Thanks for your understanding.
Regards,
Erin
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.