LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

auto size column width in repor generation toolkit

Im using RGT for excel creating tables i excel i wan to auto size the column width automatically.how to do this?
kavi
0 Kudos
Message 1 of 3
(2,789 Views)

To summarize for others:

kavi wants to:
- auto size column width (in Excel)

- change table headers font and size (in Excel)

- change table headers orientation (in Excel)

- combine ActiveX and ReportGenerationToolkit to control Excel

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,778 Views)
Basically everything you want to do needs to be done with ActiveX. The Report Generation Toolkit does just that. If there's something you need to do that the RGT doesn't do, then you need to use Excel's object model to call the properties and methods to do what you want. This information is in the Excel documentation, not the LabVIEW documentation. Examples ship with LabVIEW on how to use ActiveX to control Excel. There have also been tons of examples posted on this forum on various operations on Excel. Search and you will find them. There are also lots of examples in the Excel thread.
Message Edited by smercurio_fc on 08-30-2009 09:18 AM
Message 3 of 3
(2,748 Views)