FullName Property
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
Applies to | Document Object | SmartTagRecognizer Object | StyleSheet Object | Template Object
See Also | Name Property | Path Property | PathSeparator Property