Is this page helpful?
Removes a sheet from the Excel workbook by name. Allows for the deletion of a specified sheet within the workbook, facilitating dynamic management of the workbook's content and structure.
removeSheet(
sheetName: string
): void;
sheetName
A string specifying the name of the sheet to be removed. The sheet name must exactly match an existing sheet in the workbook, including case sensitivity.