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