LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Autofit table in Word using Report Generation Toolkit

Hi there,

 

How many times you use tables in MicrosoftWord to reporting data from LabVIEW?
If you are Report Generation Toolkit user I believe you have already faced to the problem for autofitting columns.

Here you are a functionality that implements it.

 

 

Thanks in advance,

Álvaro

Álvaro Simón
Spain TSE | CLD, CTA & CPI
0 Kudos
Message 1 of 4
(4,287 Views)

@spsimona wrote:

Hi there,

 

How many times you use tables in MicrosoftWord to reporting data from LabVIEW?
If you are Report Generation Toolkit user I believe you have already faced to the problem for autofitting columns.

Here you are a functionality that implements it.

 


Are you asking for a solution or do you wish to present one?

 

Ben64

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

Hi

 

I am printing a table in word document. All the columns are equally spaced irrespective of font size.

Due to that, the table is not fit into the page. If i click autofit contents or autofit windows, the table looks good.

 

How to do autofit contents in Word report generation when appending table to the word report??

 

I have attached the picture of MS-Word table.

 

Best regards,

Shree

0 Kudos
Message 3 of 4
(4,094 Views)

You need to access the activeX reference of the table to set the autofit behavior.

 

Word Set Table Autofit Behavior.png

 

Ben64

Message 4 of 4
(4,070 Views)