Export (0) Print
Expand All
Expand Minimize

Selection.InsertBefore Method

Inserts the specified text before the specified selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

void InsertBefore(
	string Text
)

Parameters

Text
Type: System.String
Required String. The text to be inserted.

After the text is inserted, the selection is expanded to include the new text. If the selection is a bookmark, the bookmark is also expanded to include the next text.

Community Additions

ADD
Show:
© 2014 Microsoft