Message 1 of 3
Unable to get the Open property of the Workbooks class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
After solving my last issue in this post, I now get an error on one the computers here at work.
System.IO.File.Copy("Z:\Temp.Folders\JoaoASilva\Template.xlsm", oDestination,True) 'Create template copy
xlWorkbookTemp = xlApp.Workbooks.Open(oDestinationTemp) 'Open excel created by Inventor
xlWorkbook = xlApp.Workbooks.Open(oDestination) 'Open template copy
From the 3 machines I tested on, one of them gets this error:
Unable to get the Open property of the Workbooks class
The odd thing is that it opens the excel created by Inventor, but not the template copy.
They are both .xlsm files, and all the machines have the same version of Inventor, Excel and also the Trust Center definitions within Excel.
I also performed a Repair and Reset of office365 (like this post suggests) on the machine and the problem still occurs.
Allow me to tag you, has this seems like such a specific error.
Thanks in advance,
JoãoASilva
João Silva
Mechanical Engineer