Document::SaveAs method
The SaveAs method is identical to the Save method, except a filename is specified.
Syntax
Document.SaveAs( _
ByVal FileName As String _
)
Parameters
-
FileName
-
Name of the file to which the document's persistent data is being saved.
Return value
This method does not return a value.
Examples
' Save the document to a specified file.
objDoc.SaveAs "D:\console2.msc"
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
IID |
IID_Document |