キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Write Spreadsheet to String Array on another worksheet

解決済み
解決策を見る

thanks,

i will take a look at it.

 

Best regards,
Krispiekream
0 件の賞賛
メッセージ11/29
3,204件の閲覧回数

 

 

Message Edited by krispiekream on 06-03-2010 05:54 PM
Best regards,
Krispiekream
0 件の賞賛
メッセージ12/29
3,192件の閲覧回数
And you're posting that library because ...
メッセージ13/29
3,174件の閲覧回数

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 件の賞賛
メッセージ14/29
3,166件の閲覧回数

THANK YOU!!!

I did it using ActiveX.

But my code doesnt look pretty

 

Best regards,
Krispiekream
0 件の賞賛
メッセージ15/29
3,126件の閲覧回数

Why don't you post your ugly code.  I could use a good laugh right now. スマイリー とてもハッピー

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

 

- tbob

Inventor of the WORM Global
メッセージ16/29
3,115件の閲覧回数

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
すべてをダウンロード
0 件の賞賛
メッセージ17/29
3,108件の閲覧回数

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 件の賞賛
メッセージ18/29
3,101件の閲覧回数

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
メッセージ19/29
3,090件の閲覧回数

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 件の賞賛
メッセージ20/29
3,082件の閲覧回数