LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ever get error code "-2146827284" when trying to open an Excel workbook using ActiveX

The error message claims that the file cannot be found, but the file is clearly there. Ever seen this?

Strangely, this happens on one machine, but not on another. I'm suspecting some kind of ActiveX incompatibility and would love suggestions on how to track this bugger down (I submitted to support also).

Thanks

Brad

The attached vi exhibits this behavior (on one machine anyway)...
0 Kudos
Message 1 of 6
(3,524 Views)
Brad,

My suggestion is that if you know exactly where does your Excel ActiveX Library resides, please look for it and re-register it in windows, using the regsvr32 command. If not, please check wether the Excel version of the machine that is having problems is the same version as the machine where it is actually working. Last resource you may want to try to reinstall Excel after trying some of the Excel examples that came with LabVIEW. If you feel that you need more direct assistance please contact us directly, you may wish to call us or email us and you can find the information for doing so at www.ni.com/ask in the internet.

Good luck!

Nestor Sanchez
Applications Engineer
National Instruments
Nestor
0 Kudos
Message 2 of 6
(3,524 Views)

Hello,

 

i have the same problem described above. Only one machine. Which one is the file i have to re-register (using both excel 97 and 2007)?

 

 

Thanks

0 Kudos
Message 3 of 6
(2,924 Views)

Hi andy,

              As this is a 11 year old thread,you better start a new one and describe your question clearly.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 4 of 6
(2,918 Views)

That seems to be good you  upgraded office-features and Add-Ins.And thanks for posting the resolved one.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 6 of 6
(2,902 Views)