saveDocument method



Saves the specified document.

Syntax

success = sheetObject.saveDocument(URL)

Applies to

Sheet object.

Parameters

URL
string. The URL where the file is to be saved. To save the document under its current name, assign URL an empty string. To save the document under a new name, specify a file name.

Return value

boolean. The value is true if the document is saved successfully, and false otherwise.

See also
saveDocumentToStream method