Previous Document Next Document
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 Title property.

The FullFileName property returns a read-only value.

The following code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.