Workbook.BeforeClose Event

Definition

Occurs before the workbook closes. If the workbook has been changed, this event occurs before the user is asked to save changes.

public event Microsoft.Office.Interop.Excel.WorkbookEvents_BeforeCloseEventHandler BeforeClose;

Applies to