Name
xlsx.DeleteSheet -- delete worksheet
Synopsis
xlsx.DeleteSheet(id, idx)
Function
This function can be used to delete the worksheet at the position specified by idx from the XLSX document specified by id. Worksheet positions are counted from 1. Note that you cannot delete all worksheets from an XLSX document; there needs to be at least one worksheet in the XLSX document.

Inputs
id
identifier of the XLSX document to use
idx
index of the worksheet to delete (first worksheet is at index 1)

Show TOC