Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function Add ( _
Name As String, _
Range As Range _
) As AutoTextEntry
'Usage
Dim instance As AutoTextEntries
Dim Name As String
Dim Range As Range
Dim returnValue As AutoTextEntry
returnValue = instance.Add(Name, Range)
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.
Return Value
Type: Microsoft.Office.Interop.Word.AutoTextEntry