gmteam Posted November 2, 2006 Report Share Posted November 2, 2006 Hello I need to pass some data to an existing excel file, but I want do place that data in a particullary cell on the excel. After i run de VI, and everything's look fine, I open the excel file and I see a lots of characters that are not supposed to be there. I ask if anyone helps me to solve this problem (the objective is to transfer de value on - PASS TIME - in to the excell) To understand the problem create an excel file with the name C:\TIMECOUNTER.XLS, and after you run de VI look into this excel file. Sorry for my English. Download File:post-6695-1162422991.vi Quote Link to comment
Chris Davis Posted November 2, 2006 Report Share Posted November 2, 2006 I looked at your code, you can't just "write" to a file with a .xls extension, and expect it to read back into excel. You'll have to go through excel's active X implimentation. Take a look at this post for more help. BTW, use the search link for our forums, it can help you solve problems like these. Quote Link to comment
jhoskins Posted November 2, 2006 Report Share Posted November 2, 2006 I looked at your code, you can't just "write" to a file with a .xls extension, and expect it to read back into excel. You'll have to go through excel's active X implimentation. Take a look at this post for more help. BTW, use the search link for our forums, it can help you solve problems like these. You can also look over on the NI site at the excel board. in their there are many examples of how to do this Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.