10-09-2007 03:17 PM
Hello!
I would like to control/format Excel cell parameters, such as location, column width & cell color, for each data string being generated (i.e., For Loop) from a LabVIEW VI and being dumped into a spreadsheet. I used a bit of the code from the ActiveX built-in example “Write Tabel to Excel” VI, but in my situation the Excel file is already “open” (via the “Open/Create/Replace File” VI) and I would simply like to ADD data to this file controlling its cell properties for each chunk of data flowing into the file.
Also, is there a way to display the status of the REFNUMs (whether be via front panel or Operating System file type)?
Thank you in advance for your time!
10-09-2007 08:26 PM
Try the attached. It could be modified, of course, to work on other methods/properties. The RowColToChange.vi is just a tidying-up of that provided by NI in examples. The FormatRowBorder.vi works from an Excel spreadsheet that is already open.
Sorry, I can't answer your second question.
10-10-2007 07:59 AM
JohnBoy,
Thanks for your reply. Unfortunately, I have at my disposition version 6i. I could not convert from version 7.0. If it's a simple task to convert from your end it would be much appreciated....Thank you!
10-10-2007 11:43 AM
10-11-2007 07:43 AM
Trey B,
The version I have is 6i...I believe it's one version back of 6.1. It's not compatible. I will have to download the evaluation software of 8.5 to view the code. Thanks for your effort!
10-11-2007 09:08 AM
10-11-2007 10:57 AM