Application.WorkbookBeforeSave

This event is called before a workbook is saved.

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

Type: Workbook

  • SaveAsUI [in]

Type: Boolean

  • Cancel [in,out]

Type: Boolean

-