Export (0) Print
Expand All

AutoTextEntries.Add method

Adds an AutoText entry to the list of available AutoText entries.

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

AutoTextEntry Add(
	string Name,
	Range Range
)

Parameters

Name
Type: System.String

A range of text that will be inserted whenever Name is typed.

Range
Type: Microsoft.Office.Interop.Word.Range

The text that, when typed, initiates an AutoText entry.

Show:
© 2014 Microsoft