03-09-2017 10:34 AM
Is this the same problem as the one described here? Basically, that Excel 2016 has added an (apparently undocumented) input "WorkIdentity" to the SaveAs method, and this breaks existing code until you delete and recreate the invoke node.
03-09-2017 10:54 AM
05-18-2017 01:27 AM - edited 05-18-2017 01:28 AM
Hello all
I had the same problem. On one system (Notebook) it was running fine. On my PC it was also running fine at first. From one day to the other I had also the Excel_Save_Workbook Error!?!?
I was first trying to rewire etc. No success
Then I checked the Excel_Save_Workbook on my notebook- it worked fine there.
So I copied it to the PC but the error was still there!!!
But now I know the fastest solution which worked in my case:
You don't need to reprogramm all the code.
1. Click with the mouse on "SaveAs" in the Involke Node in the Excel_Save_Workbook vi
2. Select "SaveAs" in the dropdown list.
3. THE ERROR HAS GONE!!!
4. Save the Vi...
For whatever reason the Excel_Save_Workbook has lost it's connection to the Incolke Node...
01-02-2019 09:59 AM
THANK YOU! The solution of deleting and reinstalling the invoke node worked. I did notice the new invoke node for Workbook/SaveAs had an additional invoke method not on the original - "WorkIdentity". Perhaps this was the initial error with the original invoke node of the Excel_Save_Workbook.VI.
01-02-2019 10:01 AM
Did not realize there were additional posts with this cause already identified.
08-15-2019 06:11 AM
Right click on the Invoke node ==> Select method ==> SaveAs also solved my problem. Even with MS Office 2019.
Thanks for solution!
08-22-2019 01:45 PM
Thank you ! This is stupid that this happens.
08-22-2019 09:50 PM
@liquidcable wrote:
Thank you ! This is stupid that this happens.
NI provides utilities that help you work with Microsoft Excel, a program over which it has no control. When Microsoft makes changes to Excel, they do not inform NI, nor provide "patches" for LabVIEW. Fortunately for you (and other LabVIEW Users), NI's code is written well enough that users can "patch" it easily, and generally publish the "fixes" in such places as the LabVIEW Forums (i.e. here). It is not NI's responsibility to analyze and "track" the particular version of Miicrosoft Office you are using.
Bob Schor
08-23-2019 12:28 PM
The report generation tool is something NI charges money for so it's their responsibility to make sure it works, not mine (that's why I purchased it). Also, this happened after I just moved a folder of VIs from one location to another, no other changes. It was working fine, I moved the folder, and it stopped working in the mater if 15 minutes. I don't think Microsoft installed an update to the excel in that amount of time.