Spreadsheet.SaveAs

This function saves the spreadsheet as the specified filename.

Syntax Parameters Return Value
Function Spreadsheet.SaveAs( _
    Name As String, _
    Optional Overwrite As Variant = 0) As Boolean
  • Name [in]

The fully-qualified pathway to where the report shall be saved.

Type: String

  • Overwrite [in,optional]

Whether or not to overwrite the file if it already exists. This parameter defaults to False.

Type: Variant

Default value: 0

Boolean