Xbasic

Office::Excel2003DocumentAddFormat Method

Syntax

.AddFormat as Office::Format ([InitialFormat as Office::Format])

Arguments

InitialFormatOffice::Format

An existing format to copy.

Returns

resultOffice::Format

The format that was created.

Description

Create a new format and add it to the document. You can pass an existing format to copy its values into the new one.

See Also