AppEvents_WorkbookAfterSaveEventHandler Delegate
A Delegate type used to add an event handler for the WorkbookAfterSave event. The WorkbookAfterSave event occurs after the workbook is saved.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub AppEvents_WorkbookAfterSaveEventHandler ( _
Wb As Workbook, _
Success As Boolean _
)
'Usage
Dim instance As New AppEvents_WorkbookAfterSaveEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void AppEvents_WorkbookAfterSaveEventHandler(
Workbook Wb,
bool Success
)
Parameters
Wb
Type: Microsoft.Office.Interop.Excel.WorkbookThe workbook being saved.
Success
Type: System.BooleanReturns true if the save operation was successful; otherwise false.