CustomProperty Object
From Microsoft Word Visual Basic
CustomProperty Object
Represents a single instance of a custom property for a smart tag. The CustomProperty object is a member of the CustomProperties collection.
Using the CustomProperty object
Use the Item
method
Sub SmartTagsProps()
With ThisDocument.SmartTags(Index:=1).Properties.Item(Index:=1)
MsgBox "Smart Tag Name: " & .Name & vbLf & _
"Smart Tag Value: " & .Value
End With
End Sub