system.dataset.dataSetToExcel(showHeaders, datasets[, nullsEmpty])
Boolean showHeaders - If True (1), the spreadsheet will include a header row.
Object datasets - A sequence of datasets, one for each sheet in the resulting workbook.
The following feature is new in Ignition version 7.9.8
to check out the other new features
Boolean nullsEmpty - If True (1), the spreadsheet will leave cells with NULL values empty, instead of allowing Excel to provide a default value like 0. Defaults to False. [Optional]
String - An Excel-compatible XML-based workbook, with one worksheet per dataset.