Edit

Share via


TextRange2.InsertBefore(String) Method

Definition

Inserts text to the left of the existing text in the TextRange2 object.

public Microsoft.Office.Core.TextRange2 InsertBefore (string NewText = "");
abstract member InsertBefore : string -> Microsoft.Office.Core.TextRange2
Public Function InsertBefore (Optional NewText As String = "") As TextRange2

Parameters

NewText
String

Contains the text to be inserted.

Returns

TextRange2

Applies to