saveAs method



Saves a new spreadsheet file or saves an existing file under a new name.

Syntax

sheetObject.saveAs(fileName, fileType)

Applies to

Sheet class.

Parameters

fileName
String. The file name under which you want to save the file.
fileType
String. The type of the file you want save as. Valid file types are [[what?]].

Return value

none.

Usage

To save an existing spreadsheet file under the same name, call save().

Example
saveAs method example

See also
open method
new method
save method