From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-23-2012 04:24 AM
Hi, I want to save array data into excel. I try the example write table to XL.vi
but error -2147417851 comes out
I have no idea to solve this error.
Can anybody help?
Thank you very much!
Solved! Go to Solution.
03-23-2012 10:28 AM
Please attach the VI you are using.
03-23-2012 11:28 AM
03-25-2012 07:44 PM
Oh, here is the example
03-25-2012 07:47 PM
It is work fine in another machine with LV 2010 and Excel 2007.
But for this machine with LV 7 and Excel 97 there is an error,and i don't know why.
03-25-2012 09:54 PM
Each version of Excel has its own object reference, and Microsoft has made changes to some of the classes with each version of Excel. Thus, it is highly likely that an example will work with one version of Excel, but not another since the properties and methods will have changed. The only thing you can do is that you have to look at the documentation for the Excel object model on MSDN to see what's different.
03-26-2012 04:33 AM
Oh, yes I upgrade excel to 2007, still using LV7.1, it works.
Thank you so much!