adragan Posted April 7, 2015 Share 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 Link to comment Share on other sites More sharing options...
mehmet07 Posted April 7, 2015 Share Posted April 7, 2015 yes working. i use 2 project. Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted April 7, 2015 Share Posted April 7, 2015 Big thanks adragan Quote Link to comment Share on other sites More sharing options...
Kanat Posted April 10, 2015 Share 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 Link to comment Share on other sites More sharing options...
adragan Posted April 14, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
mehmet07 Posted October 20, 2015 Share Posted October 20, 2015 Hi, how excel row color change at uNativeXLSExport? Quote Link to comment Share on other sites More sharing options...
picyka Posted March 1, 2023 Share Posted March 1, 2023 Hello, anyone using this class? if so, does it open normally through google docs? Quote Link to comment Share on other sites More sharing options...
picyka Posted June 29, 2023 Share Posted June 29, 2023 https://github.com/rareMaxim/Excel4Delphi/tree/master/source Quote Link to comment Share on other sites More sharing options...
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.