AutoTextEntries.Add(String, Range) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an AutoText entry to the list of available AutoText entries.
public:
Microsoft::Office::Interop::Word::AutoTextEntry ^ Add(System::String ^ Name, Microsoft::Office::Interop::Word::Range ^ Range);
public Microsoft.Office.Interop.Word.AutoTextEntry Add (string Name, Microsoft.Office.Interop.Word.Range Range);
abstract member Add : string * Microsoft.Office.Interop.Word.Range -> Microsoft.Office.Interop.Word.AutoTextEntry
Public Function Add (Name As String, Range As Range) As AutoTextEntry
Parameters
- Name
- String
A range of text that will be inserted whenever Name
is typed.
- Range
- Range
The text that, when typed, initiates an AutoText entry.