By ali.n ·
I have an application where data is displayed to a datagrid from Access Database. I would like to output the data to ms excel file and also to a text file. How can this be done in Visual Basic 6?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -


by onbliss In reply to VB6

Use ADO to open Excel and text files. Use the appropriate drivers. Then you can write the datagrid contents to these file. If you do not have the recordset containing the data, create one from the grid and write it out to the desired file.

Related Discussions

Related Forums