LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

standard report center text in table

Hello,

 

I am new to LabVIEW 2011 running Windows 7. 

 

I am trying to run and print standard report in LabVIEW but I couldn't figure out how to make text or data to center in the table.

See pic below.

 

tablecentertext.GIF

 

Please help.

 

Thank you so much in advance.

 

Marlin12

0 Kudos
Message 1 of 7
(3,130 Views)

Use this function for setting alignment of text inside the cell of excel sheet.

 

http://zone.ni.com/reference/en-XX/help/370274E-01/lvoffice/excel_set_cell_alignment/

Message 2 of 7
(3,126 Views)

Hello Puneet,

 

Thank you for the quick respond.

 

I wasn't clear explaining about running a standard report.

 

What I am trying to do is run the report to a default printer using a standard report type not excel.

See pic below.

 

reporttype.GIF

 

When I use the excel_set_cell_alignment, it gave me an error saying it is not the correct report type.

 

Please let know.

 

Thank you,

Marlin12

0 Kudos
Message 3 of 7
(3,121 Views)

Can you post your code ?

0 Kudos
Message 4 of 7
(3,117 Views)

Certainly,

 

Please see the attachments.

 

 

 

marlin12

Download All
0 Kudos
Message 5 of 7
(3,112 Views)

Marlin,

Did you ever solve the problem?  I also am trying to cerate a standard report wit a table in it and would like to center the cell contents.  We cannot put M$ Office on production machines.

Jim

LV 2020
0 Kudos
Message 6 of 7
(2,926 Views)

Hi Jim,


We have Office so I no longer try to use standard report.  All of our reports are generate with WORD templates and that seemed to help tremendously with formatting.

 

Marlin12

0 Kudos
Message 7 of 7
(2,895 Views)