HotXLS Delphi Excel Read Write Library / Component Developers Guide
Component is intended for exporting any descendants of TDataSet (TTable, TQuery etc.) to Excel, HTML or RTF file.
TDataToXLS is the non-visual component for exporting descendants of TDataSet to Excel Workbook, HTML or RTF file. You can also use TDataToXLS to export several TDataSet objects to the same Workbook. Using this component you can apply conditional formatting to any exported cell.