RemoveSheet Method

Summary

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.

Syntax

TypeScript
JavaScript
LEADWorkbook.prototype.removeSheet = function( 
   sheetName 
) 
removeSheet( 
   sheetName: string 
): void; 

Parameters

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.

Requirements

Target Platforms

See Also

LEADWorkbook Class

LEADWorkbook Members

Leadtools.Document.SheetEditor Namespace

Help Version 23.0.2024.5.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.SheetEditor Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.