IAppEvents.WorkbookBeforeSave Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub WorkbookBeforeSave ( _
Wb As Workbook, _
SaveAsUI As Boolean, _
<OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As IAppEvents
Dim Wb As Workbook
Dim SaveAsUI As Boolean
Dim Cancel As Boolean
instance.WorkbookBeforeSave(Wb, SaveAsUI, _
Cancel)
void WorkbookBeforeSave(
Workbook Wb,
bool SaveAsUI,
out bool Cancel
)
Parameters
- SaveAsUI
Type: System.Boolean
- Cancel
Type: System.Boolean