RenameSheet Method

Official Content
This documentation is valid for:
Renames the active worksheet with the specified name.       

Syntax

&ExcelDocument.RenameSheet(SheetName)

Type Returned:
Numeric

Where:
SheetName
Name of the Sheet that will be renamed.

Note:
This method returns an error code, so it is possible to call it as a function (&Err = &ExcelDocument.RenameSheet(…..)).

Scope

Extended Data Types: ExcelDocument
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

ExcelDocument Data Type