Workbook.BeforeSave

This event is called before the workbook is saved.

Syntax Parameters Return value
Event Workbook.BeforeSave( _
    SaveAsUI As Boolean, _
    ByRef Cancel As Boolean)
  • SaveAsUI [in]

    Type: Boolean

  • Cancel [in, out]

    Type: Boolean

-