Bookmark.InsertAutoText 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.
Attempts to match the text in the Bookmark control with an existing AutoText entry name.
public:
void InsertAutoText();
public void InsertAutoText ();
abstract member InsertAutoText : unit -> unit
Public Sub InsertAutoText ()
Remarks
If any such match is found, InsertAutoText inserts the AutoText entry to replace that text. If a match cannot be found, an exception is thrown.
Calling this method might delete the Bookmark control.
You can use the Insert method with an AutoTextEntry object to insert a specific AutoText entry.