Error -41105 When Using LabVIEW to Create an Excel Report

Updated May 20, 2024

Reported In


  • LabVIEW

Issue Details

I created an application in LabVIEW that generates a graph report in Excel, when I run the program it makes Excel crash with the message:
Error -41105 occurred at
Component Check vi -> NI_Excel.lvclass:Excel
Insert Graph vi -> Excel Report - Graph
Generation vi 

How to solve this error?



When creating a constant for the window state of the Create Report VI
The minimized option can cause Excel to crash and to generate the Error -41105.
To avoid this, use the Excel Bring to Front VI  and control the Excel window state through it instead.

Additional Information

This kind of errors with ReportGenerationToolkit can sometimes appear and usually are system dependent.