From Nonnoi Solutions:
ASP/Export2ExcelPack is a server side COM component that allows web developers to export from DAO or ADO recordsets into MS Excel, HTML Table, XML, TXT, CSV, SYLK and DIF. You can export your data into MS Excel, HTML Table, XML, TXT, CSV, SYLK and DIF and set maximum set of export records. You don't need to have MS-Excel installed. ASP/Export2ExcelPack supports ASP, PHP (COM class - Windows). Version 1.30 fixes long data string for export to excel format bug.