Application.WorkbookBeforeClose

This event is called before a workbook is closed.

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

Type: Workbook

  • Cancel [in,out]

Type: Boolean

-