export data to excel file (Delphi)
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2018
11:09 AM
02-04-2018
11:09 AM
export data to excel file (Delphi)
Hi,
Anybody have example Delphi script for Export data to excel file.
I could find example at support.smartbear.com.
Thanks.
Solved! Go to Solution.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2018
01:41 AM
02-05-2018
01:41 AM
More specific question would always give better answers, but if you are looking for tools to write general data to xls file
here is one example.
procedure exceldemo; var app, book,sheet; fn,row,col; begin fn := 'c:\temp\foo.xlsx'; app := Sys.OleObject('Excel.Application'); if aqFile.Exists(fn) then book := app.workbooks.open(fn) else book := app.Workbooks.Add(); sheet := book.sheets(1); app.DisplayAlerts := false; for row := 1 to 10 do begin for col :=1 to 10 do begin sheet.cells(row, col) := row * col; end; end; book.SaveAs(fn); app.Quit(); end;
Jeemly - Dream Big
https://jeemly.com/
https://jeemly.com/
