This question has been asked several times ( SO Question), One solution comes from here incl. the demo code Solution from WORDPRESS
ExportRecordsetToMSExcel('D:\x.xls', ADOTable1.Recordset );
If I try to compile this code I get this error message :
[DCC Fehler] E2010 Inkompatible Typen: 'ADODB_TLB._Recordset' und 'Winapi.ADOInt._Recordset'
What is the reason why I can not compile this code, how to fix the data mismatch indicated by the compiler error message ?