Share via


TextRange2.InsertBefore Method

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

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Function InsertBefore ( _
    NewText As String _
) As TextRange2
'Usage
Dim instance As TextRange2
Dim NewText As String
Dim returnValue As TextRange2

returnValue = instance.InsertBefore(NewText)
TextRange2 InsertBefore(
    string NewText
)

Parameters

Return Value

Type: Microsoft.Office.Core.TextRange2
TextRange2

See Also

Reference

TextRange2 Interface

TextRange2 Members

Microsoft.Office.Core Namespace