Object Model Reference : Classes : D : Document : Properties : Document.FileName |
Property FileName As String
Member of Document
The FileName property returns the filename of a saved document.
• |
See also the Document.Title property.
|
The FileName property returns a read-only value.
The following VBA example displays the filename of the active document.
Sub Path() |
MsgBox ActiveDocument.FileName |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.