Name
xlsx.AddSheet -- add a new worksheet
Synopsis
xlsx.AddSheet(id, name$[, pos])
Function
This function will add a new worksheet to the XLSX document specified by id. The worksheet will be given the name specified by name$. The optional argument pos allows you to specify where the worksheet should be inserted in the XLSX document (worksheet positions start at 1). If pos is omitted or set to an out of range position, the new worksheet will be added as the last worksheet.

Inputs
id
identifier of the XLSX document to use
name$
name for the new worksheet
pos
optional: desired insert position, starting from 1 for the first worksheet (defaults to 0, which means insert as the last worksheet)

Show TOC