excel list sheets
This function identifies all sheets (tabs) inside the Microsoft Excel workbook (Open Office format) and returns them in a set containing strings.
This information may be necessary in order to load the right table in the Excel file afterwards.
Attention: Encrypted, binary and proprietary legacy file types (e.g. .xlsb, .xls) cannot be processed.
Indirect parameter passing is disabled
1
No. | Type | Description |
---|---|---|
1 input |
string | name of Excel file name It must be an Excel file in Open Office format, e.g. with file type .xlsx, .xlsm, .xlst.
|
Type | Description |
---|---|
set | Sheet names List of all sheet names from left to right as seen in the bottom tabs on Excel |
sheets[] = excel list sheets( "Examples\Football Membership List.xlsx" );
echo("The sheets are: ", sheets[] );
The sheets are: {'Tabelle1'}