Previous Document Next Document
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 code example displays the file path of the active document.

Sub Path() 
 MsgBox ActiveDocument.FilePath 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.