Application_WorkbookBeforeClose(Workbook, ref Boolean) Method

Clean up after closing workbook, only set flag here, actual cleanup is only done if workbook is really closed (in WB_Deactivate event)
Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)

Syntax

private void Application_WorkbookBeforeClose(
	Workbook Wb,
	ref bool Cancel
	)

Parameters

Wb
Type: Workbook
Cancel
Type: Boolean