Share via


FullName Property

FullName Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Specifies the name of a document, template, or cascading style sheet, including the drive or Web path. Read-only String.

expression.FullName

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

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

Example

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

  Sub DocName()
    MsgBox ActiveDocument.FullName
End Sub

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

  Sub TemplateName()
    MsgBox ActiveDocument.AttachedTemplate.FullName
End Sub

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

  Sub CSSName()
    MsgBox ActiveDocument.StyleSheets(1).FullName
End Sub