Previous Document Next Document
Document.FileName

Property FileName As String

Member of Document

The FileName property returns the filename of a saved document.

See also the Title property.

The FileName property returns a read-only value.

The following code example displays the filename of the active document.

Sub Path() 
 MsgBox ActiveDocument.FileName 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.