newDocument method



Overwrites the current worksheet with an empty worksheet.

Syntax

sheetObject.newDocument()

Applies to

Sheet object.

Parameters

none.

Return value

none.

Usage

If you want to save data on the current worksheet, call writeExternal() before calling newDocument.

See also
Placeholder method