StyleName Property
Applies To
AutoTextEntry object.
Description
Returns the name of the style applied to the specified AutoText entry. Read-only String.
See Also
Add method (AutoTextEntries collection), AutoTextEntries property, Templates property.
Example
This example creates an AutoText entry and then displays the style name of the entry.
Set myentry = NormalTemplate.AutoTextEntries.Add(Name:="rsvp", _
Range:=Selection.Range)
MsgBox myentry.StyleName