Previous Document Next Document

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


Document.FileName

Property FileName As String

Description

Member of Document

The FileName property returns the filename of a saved document.

 
See also the Document.Title property.

The FileName property returns a read-only value.

VBA example

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

Sub Path()
 MsgBox ActiveDocument.FileName
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.