SelectSheet Method

Official Content
This documentation is valid for:
Changes from the active worksheet to the specified one.        

Syntax

&ExcelDocument.SelectSheet(SheetName)

Type Returned:
Numeric
 
Where:
SheetName
   Name of the Sheet that will be selected. When the specified worksheet does not exist, it is created.

Note:

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

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