01-21-2026 03:51 AM
I need to generate a 2-page PDF report in LabVIEW using an Excel template.
Each page must have a different page size
Page 1 → A4
Page 2 → Letter
The report data comes from LabVIEW and is written into Excel.
The final output should be one single PDF file with two pages.
I am using 32-bit LabVIEW with 64-bit Excel.
ActiveX is not allowed / preferred.
I am looking for the recommended LabVIEW approach, best practices, or toolkits to implement this reliably.
01-21-2026 10:09 AM
On Windows, you must use ActiveX to write to Excel.
01-21-2026 12:58 PM
We've had endless troubles with Excel in LabVIEW, especially when trying to do anything very complicated. We also couldn't find a way other than ActiveX/COM to interact with it.
In the end we no longer attempt to save directly to Excel in any new code, and whenever we rev up old code we try to see if there's a way to remove it. Alternate options include: