AutoTextEntry.Insert(Range, Object) AutoTextEntry.Insert(Range, Object) Method

Definition

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);
Public Function Insert (Where As Range, Optional ByRef RichText As Object) As Range
Parameters
Where
Range Range

The location for the AutoText entry.

RichText
Object 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.

Applies to