Error -98 When Trying to Register Callback on Excel

Updated May 2, 2018

Reported In

Software

  • LabVIEW

Issue Details

I work on a code generating Excel report. I met a problem when trying to register callback on an Excel event by using Register Event Callback Function. The following error message appears:
"Error 98 occurred at Register Event Callback in Excel"

Why do I get this message and how can I fix the issue?
I use LV2015 and MS Office 2016 on Windows 10.

Solution

This combination of LabVIEW and Excel is not supported by the Report Generation Toolkit. You can find the compatibility table in question on the following link. You can use LabVIEW 2015 up to Excel 2013 and to use Excel 2016 you shall update to LabVIEW 2016.
 

Additional Information

If your goal is to generate a report in Excel you can also use other methods to do that as a workaround.
The document linked below describes other methods on how to export data from LabVIEW to Excel. You can use TDMS files if your data is acquired from a measurement or create a .csv file using the Write Delimited Spreadsheet VI.

WAS THIS ARTICLE HELPFUL?

Not Helpful