Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
The Close method closes the document.
Syntax
Document.Close( _
ByVal SaveChanges As Long _
)
Parameters
-
SaveChanges
-
Value specifying whether changes (if any) to the document should be saved. If this parameter is 1, the document is saved before it is closed; the user will not have another opportunity to save the document, although the user will be prompted (by a user interface) to provide a file name if required. If this parameter is 0, the document is closed without being saved.
Return value
This method does not return a value.
Examples
' Save the document and close it.
objDoc.Close (1)
Requirements
| Minimum supported client |
Windows Vista |
| Minimum supported server |
Windows Server 2008 |
| Header |
|
| IDL |
|
| DLL |
|
| IID |
IID_Document |