AutoTextEntry.Insert(Range, Object) 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.
Inserts the AutoText entry in place of the specified range.
public Microsoft.Office.Interop.Word.Range Insert (Microsoft.Office.Interop.Word.Range Where, ref object RichText);
abstract member Insert : Microsoft.Office.Interop.Word.Range * obj -> Microsoft.Office.Interop.Word.Range
Public Function Insert (Where As Range, Optional ByRef RichText As Object) As Range
Parameters
- Where
- Range
The location for the AutoText entry.
- RichText
- Object
Whether to insert the AutoText entry with its original formatting.
Returns
Remarks
If you don't want to replace the range, use the Collapse(Object) method before using this method.