From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-27-2006 10:30 AM
11-27-2006 11:23 AM
11-28-2006 01:21 AM - edited 11-28-2006 01:21 AM
Hi,
Seen a lot of answers here. Can you post the code ? Curious to see why it is not working.
What is the error telling ?
Message Edited by K C on 11-28-2006 08:23 AM
11-28-2006 02:56 AM
11-28-2006 03:53 AM - edited 11-28-2006 03:53 AM
Do you already have a program that uses these VI's ?
What version LV do you use ?
Message Edited by K C on 11-28-2006 10:58 AM
11-28-2006 05:43 AM
11-28-2006 09:17 AM
Hi,
There are several things wrong (I mean i did it differently)
- select the correct ActiveX application (I can't see what you have chosen)
- After a excel open you should open a workbook and use the reference from that
- a sheet name as a string must be converted to a variant variable
Maybe you can use this VI as a start. Let me know if this helps
11-28-2006 10:02 AM
Thanks for the code.
But i want to create a excel file from labVIEW and write data in to it repeatedly. That is giving me error. But if i use a file created by me manully then it is working fine for me.
I mean to say if the user give a excel file path which is not present then labVIEW will create a excel file with the user specified name and fill the data in to it.
I hope now i am able to tell my problem clearly.
Rikki
11-28-2006 11:43 AM
11-29-2006 05:38 AM
Thanks Alot...
I did modification in my code. Now it is working very fine. Thanks alot for your help.
I dont know how to give rating .But it is 5 Star. Please tell me how can i give rating to your answers.
Rikki