Xbasic

Office::Excel2003DocumentAddSheet Method

Syntax

.AddSheet as Office::Spreadsheet ([Name as C])

Arguments

NameCharacter

The name of the sheet. If no name is specified, it will be automatically generated for you.

Returns

resultOffice::Spreadsheet

Returns the spreadsheet.

Description

Add a new spreadsheet to the document assigning it the name provided.