06-29-2012 01:01 AM
Hi all,
i have a problem using ActiveX to open excel files. I get error code "-2146827284" (unknown error) when trying to open a workbook. This problem occurs on only one machine i work with, on the others it works fine. All machines have the same setup, Excel97 and Excel2007 installed on them.
Any ideas??
Thanks
Solved! Go to Solution.
06-29-2012 02:50 AM
06-29-2012 08:46 AM
A lot of times when automation Excel through ActiveX an error in the code results in Excel remaining still running in the background.
This will cause problems with subsequent actions.
06-29-2012 10:54 AM
06-29-2012 11:04 AM
06-29-2012 12:51 PM
06-29-2012 01:01 PM
It looks like the Excel file is located on a server mapped to K:\
What happens when you move it to the local hard drive C:\?
06-29-2012 01:29 PM
@andyforpresident wrote:
For sure the file is there, the _application object gets created without an error.
Creation of the application object has nothing to do with opening the workbook, which is what is generating the error. If you are getting an error with opening the workbook then you either have the wrong path, a permissions issue, a network issue, or the file is already open.
06-29-2012 02:26 PM
06-29-2012 02:30 PM