From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ExportAsFixedFormat PDF generation

Solved!
Go to solution

I would like to be able to save an excel file to PDF in labviewdows cvi. In labview I have code that uses the exportasfixedformat method, however, I cannot see exportasfixedformat in any of the excel examples I have. I see a bunch of calls that use CA_MethodInvokeEx, however, not exist for the exportasfixedformat.

 

How can I create one for the excel2000.c file I found in my examples?

0 Kudos
Message 1 of 4
(4,471 Views)
Solution
Accepted by topic author Steve_Block

Turns out I was able to generate some current .c and .h files from the Tools-> Create Active X feature. It was a painful process, but I no longer need a solution.

0 Kudos
Message 2 of 4
(4,462 Views)

I think you used the feature Tools >> Create ActiveX Controller, but you didn't clarify which ActiveX you selected to create the .c and .h files.

 

Could you share this info, please?

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 3 of 4
(4,331 Views)

I used the Microsoft Excel 14.0 Object Library.

 

 

Message 4 of 4
(4,321 Views)