取消
顯示結果 
搜尋替代 
您的意思是: 

Excel_Save_Workbook error

已解決!
前往解決方案

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.

11 條訊息(共 19 條)
4,087 檢視

Yes, it is.  Thank you for providing a cause.  

Certification Engineer II
National Instruments

Certified LabVIEW Developer

0 積分
12 條訊息(共 19 條)
4,081 檢視

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...

13 條訊息(共 19 條)
3,897 檢視

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.

0 積分
14 條訊息(共 19 條)
3,490 檢視

Did not realize there were additional posts with this cause already identified. 

0 積分
15 條訊息(共 19 條)
3,489 檢視

Right click on the Invoke node ==> Select method ==> SaveAs also solved my problem. Even with MS Office 2019.

Thanks for solution!

0 積分
16 條訊息(共 19 條)
3,309 檢視

Thank you ! This is stupid that this happens.

0 積分
17 條訊息(共 19 條)
3,294 檢視

@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

0 積分
18 條訊息(共 19 條)
3,281 檢視

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.

19 條訊息(共 19 條)
3,265 檢視