How do I take output from a DBGrid and turn it into an Excel .xls file?


2008-05-24 09:56:49 PM
cppbuilder82
I have a DBGrid that points to a TTable and when I open that TTable a
whole bunch of data gets output on my DBGrid. Now, I want to save that
output as an Excel workbook (.xls file format). How do I do this?
And if possible, can I bypass the DBGrid altogether so that when I
open the TTable it opens Excel and starts a new workbook that has that
data in it?