Previous Document Next Document

Object Model Reference : Classes : D : Document : Properties : Document.FullFileName


Document.FullFileName

Property FullFileName As String

Description

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.