Object Model Reference : Classes : D : Document : Properties : Document.FilePath |
Property FilePath As String
Member of Document
The FilePath property returns the file path where a document is saved. The file path always ends with a backslash ( \ ).
The FilePath property returns a read-only value.
The following VBA example displays the file path of the active document.
Sub Path() |
MsgBox ActiveDocument.FilePath |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.