ApplicationEvents3.DocumentBeforeSave Method
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub DocumentBeforeSave ( _
Doc As Document, _
ByRef SaveAsUI As Boolean, _
ByRef Cancel As Boolean _
)
'Usage
Dim instance As ApplicationEvents3
Dim Doc As Document
Dim SaveAsUI As Boolean
Dim Cancel As Boolean
instance.DocumentBeforeSave(Doc, SaveAsUI, _
Cancel)
void DocumentBeforeSave(
Document Doc,
ref bool SaveAsUI,
ref bool Cancel
)
Parameters
- Doc
Type: Microsoft.Office.Interop.Word.Document
- SaveAsUI
Type: System.Boolean%
- Cancel
Type: System.Boolean%