Application.SpreadsheetBeforeClose

This event is called before a spreadsheet is closed.

Syntax Parameters Return Value
Event Application.SpreadsheetBeforeClose( _
    Spreadsheet As Spreadsheet, _
    ByRef Cancel As Boolean)
  • Spreadsheet [in]

Type: Spreadsheet

  • Cancel [in,out]

Type: Boolean

-