I get the following message:
Error 97 occurred at Unknown System Error in Print Report.vi->PM Workorder.vi->NEW PM main.vi
Null Refnum was passed in as input
when I try to run my built application, but it will run fine as a vi. I am using the Report Generation Toolkit with the Excel functions. I am opening an Excel template, adding data, and then printing. When I run the built application it looks like Excel is not opening up, but when I run the vi, I can see excel open and the report is sent out to the printer. I am running both the built application and the vi on the same computer.