This error is being thrown by a specific invoke method within Excel Easy Text.vi
. The following fixes will prevent this error from being thrown.
- Change the minimized enum constant connected to the Create Report.vi to maximized, no change, or normal (One example can be seen in the snippet below.)
- Make sure you have the Microsoft Excel program fully opened before running your program.
Solution Snippet ("minimized" enum changed to "maximized")
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
If the above changes do not prevent this error from being thrown, check the following criteria:
- The error occurs after a specific length of execution time
- You are using Microsoft Excel 2003 or earlier
If your program meets these criteria, then this error is likely being thrown due to the pre-2007 Microsoft Excel spreadsheet size limit being reached.