02-28-2012 12:02 PM
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.
Please help.
Thank you so much in advance.
Marlin12
02-28-2012 12:49 PM
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/
02-28-2012 02:03 PM
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.
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
02-28-2012 02:17 PM
Can you post your code ?
02-28-2012 02:37 PM
Certainly,
Please see the attachments.
marlin12
03-13-2014 01:24 PM
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.
03-14-2014 08:49 AM
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