Xbasic

Office::Excel2003DocumentFindSheet Method

Syntax

.FindSheet as L (Sheet as Office::Spreadsheet, Name as C)

Arguments

SheetOffice::Spreadsheet

An Office::Spreadsheet variable that will be populated with the spreadsheet with the specified name.

NameCharacter

The name of the sheet to find.

Returns

resultLogical

Returns .T. if operation succeeds, otherwise .F.. The Office::Excel2003Document CallResult object will contain additional information if the operation fails.

Description

Get a spreadsheet by name.

See Also