02-06-2006 05:34 PM
02-06-2006 10:39 PM
02-07-2006 09:27 AM
Hi Ed,
Thanks for your suggestion, however, I failed to fully explain why I was trying to get ActiveX to work. I've attached the spreadsheet, which has column labels. Because of these labels, I need to be able to select at which row the data starts. The example you provided worked as long as the labels were not present. The labels must be present on each report. Are there any other suggestions?
02-07-2006 04:43 PM
Hi Tim,
The Write File VI that Ed used in his example has an input called "pos mode". This input determines the position at which the new data is written in the file. If you wire a 1 to this input, then the Write File VI will add your data at the end of the current file. I think that this will work for you, you'll just need to be sure to start with an end line to begin a new row in the file.
I hope this helps. Please post if you have further questions or if I'm not clear on the situation.
Good luck!
Megan B.
National Instruments
02-07-2006 06:20 PM
02-14-2006 03:00 PM
I've tried modifying Ed's example, as Megan suggested, but the Excel file gets scrambled when I write to it. I've attached the development distribution(.llb) of the ActiveX example I was working with before, as unclebump requested. Thank you all for your help.
Tim
02-14-2006 03:03 PM
Here's the ActiveX (.llb)
Tim
02-15-2006 09:49 PM
02-15-2006 10:16 PM
Hi Tim,
Yes, what you're trying to accomplish would be very easy with the Report Generation Toolkit. You can specify row/cell locations in a worksheet where you want data to be added. You can also "name" some cells in your worksheet, and you can insert data at locations identified by names.
Let me know if you want any more information about the Report Generation Toolkit,
-D
02-18-2006 11:10 AM - edited 02-18-2006 11:10 AM
Message Edited by Ed Dickens on 02-18-2006 11:12 AM