Spreadsheet.Close

This function closes the spreadsheet.

Syntax Parameters Return Value
Sub Spreadsheet.Close( _
    Optional SaveChanges As Variant, _
    Optional FileName As Variant)
  • SaveChanges [in,optional]

Whether or not the document should be saved when closed. This parameter defaults to False if no argument is passed.

Type: Variant

  • FileName [in,optional]

The fully-qualified pathway to where the report shall be saved. This parameter defaults to the report's current filepath.

Type: Variant

This function does not return a value.