Object Model Reference : Classes : D : Document : Properties : Document.FullFileName |
Property FullFileName As String
Member of Document
The FullFileName property returns the filename and file path where a document is saved.
• |
See also the Document.Title property.
|
The FullFileName property returns a read-only value.
The following VBA example shows the path and filename of the document if the document has been saved to a file.
Sub Test() |
If ActiveDocument.FullFileName = "" Then |
MsgBox "Current document is not saved yet" |
Else |
MsgBox "Current document was saved to: " & ActiveDocument.FullFileName |
End If |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.