AdvStringGrid Export and Import filters
|
Exports the attached grid or workbook to Excel.
procedure Export(const FileName: TFileName; const SheetName: string = ''); overload;
Parameters |
Description |
const FileName: TFileName |
Filename of the generated file. If the extension is "xls" then the file will be saved as Excel 2003, if it is xlsx/xlsm it will be saved as Excel 2007. |
const SheetName: string = '' |
Defines the sheet name for the exported file. If empty, a normal "Sheet1" will be used. |
For more flexibility in how to generate the file use Export(TExcelFile, TInsertInSheet) instead.
Copyright (c) 2002-2013 TMS Software. All rights reserved.
|
What do you think about this topic? Send feedback!
|