FullName Property
TOC
Collapse the table of content
Expand the table of content

Document.FullName Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a String that represents the name of a document, including the path. Read-only.

expression .FullName

expression Required. A variable that represents a Document object.

Using this property is equivalent to using the Path, PathSeparator, and Name properties in sequence.

This example displays the path and file name of the active document.

Sub DocName() 
 MsgBox ActiveDocument.FullName 
End Sub
Show:
© 2016 Microsoft