CreateSheet Method

Summary

Creates and adds a new sheet to the Excel workbook with the specified name. Allows for the dynamic expansion of the workbook by adding additional sheets.

Syntax

TypeScript
JavaScript
LEADWorkbook.prototype.createSheet = function( 
   sheetName 
) 
createSheet( 
   sheetName: string 
): Sheet; 

Parameters

sheetName

A string specifying the name of the new sheet. Sheet names must be unique within the workbook and should not contain illegal characters.

Return Value

A new instance of the Sheet class, representing the newly created sheet within the workbook.

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.