Solved

Save StringGrid content to .xls (excel file) ??

Posted on 1998-12-23
6
699 Views
Last Modified: 2010-04-04
Are there any function/ easy way to save the content in the StringGrid to excel file... I really mean easy way
0
Comment
Question by:mrbird
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 7

Accepted Solution

by:
BlackMan earned 50 total points
ID: 1352657
0
 
LVL 7

Expert Comment

by:jconde
ID: 1352658
Mrbird, theres a String / Image Grid Component called ADVStringGrid which is freeware (no src included)  This component, besides being the best string grid i've seen, has a method called SavetoExcel('Filename.xls')

Even though you're not using it, I suggest you take a look at it since it's very good, It has all the features you will need (In place editor, graphics, sorting, loading from files, saving to files, etc...) and it will definiteley help you in the future.

Regards,

Jorge
0
 
LVL 7

Expert Comment

by:jconde
ID: 1352659
Mrbird, theres a String / Image Grid Component called ADVStringGrid which is freeware (no src included)  This component, besides being the best string grid i've seen, has a method called SavetoExcel('Filename.xls')

Even though you're not using it, I suggest you take a look at it since it's very good, It has all the features you will need (In place editor, graphics, sorting, loading from files, saving to files, etc...) and it will definiteley help you in the future.

Regards,

Jorge
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mrbird
ID: 1352660
Thank you Jorge
0
 
LVL 1

Expert Comment

by:slautin
ID: 1352661
Very easy way...
1.Via file: convert your any grid or list values into CSV
file. Can use same characters for separate fields ';'-for example and NL for string. Don't forget to delete or replace #13 and #10 symbols with blank in memo-fields.
2. Via clipboard : use tab symbol for field separator and NL - for string separator. In Exel - 'Paste' menu item.

I did it more then once.
Mail me : slautin@yahoo.com
0
 
LVL 1

Expert Comment

by:slautin
ID: 1352662
Very easy way...
1.Via file: convert your any grid or list values into CSV
file. Can use same characters for separate fields ';'-for example and NL for string. Don't forget to delete or replace #13 and #10 symbols with blank in memo-fields.
2. Via clipboard : use tab symbol for field separator and NL - for string separator. In Exel - 'Paste' menu item.

I did it more then once.
Mail me : slautin@yahoo.com
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question