Application.BeforeClose

This event is called before the application closes.

Syntax Parameters Return Value
Event Application.BeforeClose( _
    ByRef CloseOption As ApplicationBeforeCloseOption)
  • CloseOption [out]

Type: ApplicationBeforeCloseOption

-