FullName Property Example

This example displays the path and file name of the active document (assuming that the document has been saved).

MsgBox ActiveDocument.FullName

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

MsgBox ActiveDocument.AttachedTemplate.FullName