adragan Posted April 7, 2015 Posted April 7, 2015 To all tortured soles that have to fulfill the Excel dependent customer demands, I found this on the net. To my amazement , it works ! http://blog.runbits.com/post/Native-Export-XLS-without-excel-Delphi.aspx Have fun ! 2 Quote
Kanat Posted April 10, 2015 Posted April 10, 2015 To all tortured soles that have to fulfill the Excel dependent customer demands, I found this on the net. To my amazement , it works ! http://blog.runbits.com/post/Native-Export-XLS-without-excel-Delphi.aspx Have fun ! Please, can make a demo project. I can not do. Quote
adragan Posted April 14, 2015 Author Posted April 14, 2015 It seems I was to optimistic about "working" export to Excel. There is a problem with exporting long integers so , if you have id-s in the 100000 range or more that you want exported , first cast them as strings. As for a demo, it couldn't be simpler : uses uNativeXLSExport; .................. procedure TUniMainModule.ExportExcel(ADataSet:TDataSet); var fname:string; begin fname := UniServerModule.LocalCachePath + 'E' + FormatDateTime('hhmmss', Now()) + '.xls'; // Create a unique name for report. DataSetToXLS(ADataSet, fname); UniSession.SendFile(fname); end; Quote
mehmet07 Posted October 20, 2015 Posted October 20, 2015 Hi, how excel row color change at uNativeXLSExport? Quote
picyka Posted March 1, 2023 Posted March 1, 2023 Hello, anyone using this class? if so, does it open normally through google docs? Quote
picyka Posted June 29, 2023 Posted June 29, 2023 https://github.com/rareMaxim/Excel4Delphi/tree/master/source Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.