LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write Spreadsheet to String Array on another worksheet

Solved!
Go to solution

thanks,

i will take a look at it.

 

Best regards,
Krispiekream
0 Kudos
Message 11 of 29
(3,070 Views)

 

 

Message Edited by krispiekream on 06-03-2010 05:54 PM
Best regards,
Krispiekream
0 Kudos
Message 12 of 29
(3,058 Views)
And you're posting that library because ...
Message 13 of 29
(3,040 Views)

i was going to ask a question, so i posted the llb.

but i decided to edit and remove it till i find out my own solution.

you guys are great at answering my questions and are very helpful though.

i havent figured out how to do it yet, but i will soon (hopefully)

 

 

Best regards,
Krispiekream
0 Kudos
Message 14 of 29
(3,032 Views)

THANK YOU!!!

I did it using ActiveX.

But my code doesnt look pretty

 

Best regards,
Krispiekream
0 Kudos
Message 15 of 29
(2,992 Views)

Why don't you post your ugly code.  I could use a good laugh right now. Smiley Very Happy

Seriously, I would like to see it.  I learn from these things.

 

- tbob

Inventor of the WORM Global
Message 16 of 29
(2,981 Views)

Alright, Here it goes.

I can successfully create new worksheet with raw data.

but my code is a mess.

BUT I HAVE 1 MAJOR PROBLEM.

everytime I tried to SAVE. It wouldn't save the two worksheets I have.

can someone help me?

 

Best regards,
Krispiekream
Download All
0 Kudos
Message 17 of 29
(2,974 Views)

What do I need to put in the ActiveX Save As function for

Microsoft Excel 97- Excel 2003 & 5.0/95 Workbook (*.xls)

 ????

 

Best regards,
Krispiekream
0 Kudos
Message 18 of 29
(2,967 Views)

WOW.  You were right about it not being pretty.  You really should break this up into subvi's and a state machine.  Maybe put all of your string variables in a cluster.  This will be a nightmare to troubleshoot and maintain.  Please consider changing it.

 

As for your saving problem, your code to close and quit Excel is in a separate loop.  This loop will run continuously in parallel with the rest of your code.  I don't think this is what you want.  A state machine would solve that problem.

 

- tbob

Inventor of the WORM Global
Message 19 of 29
(2,956 Views)

i will try to make it to subvi as soon as I get everything working.

 

what do i need to put in the text "text.xls" to save it in .xls format?

 

untitled.PNG

Best regards,
Krispiekream
0 Kudos
Message 20 of 29
(2,948 Views)