| Maptitude GISDK Help |
Lists all the worksheets in an Excel workbook (.xls) file.
Added to Version 5.0.
sheetnames_array = ListExcelSheets(string excel_file)
| Argument | Contents |
|---|---|
| excel_file | Name of the Excel workbook (.xls) file |
An array of the names of the worksheets in the Excel workbook (.xls) file.
excel_file = ChooseFile({{"Excel Workbook (*.xls)", "*.xls"}},
"Choose an Excel Workbook", )
ShowArray(ListExcelSheets(excel_file ))
| Error Type | Meaning |
|---|---|
| NotFound | excel_file was not found |
| Function | Summary |
|---|---|
| ExportExcel() | Reads an Excel workbook (.xls) file and exports one of its sheets to a new table |
| OpenTable() | Opens a table from a file on disk and creates a view |
| ©2025 Caliper Corporation | www.caliper.com |