Retrieves a sheet from the Excel workbook by its index. Provides access to a sheet based on its position within the workbook.
LEADWorkbook.prototype.getSheetAt = function(
index
)
index
A zero-based index of the sheet to retrieve. The index reflects the sheet's position in the workbook, starting from 0 for the first sheet.
The Sheet object located at the specified index within the workbook. If the index is out of bounds, either negative or exceeding the last index of the workbook's sheets, an exception will be thrown.