Export (0) Print
Expand All
Expand Minimize

Selection.CreateAutoTextEntry Method

Adds a new AutoTextEntry object to the AutoTextEntries collection, based on the current selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

AutoTextEntry CreateAutoTextEntry(
	string Name,
	string StyleName
)

Parameters

Name
Type: System.String
Required String. The text the user must type to call the new AutoText entry.
StyleName
Type: System.String
Required String. The category in which the new AutoText entry will be listed on the AutoText menu.

Community Additions

ADD
Show:
© 2014 Microsoft