Share via


TextRange2.InsertBefore Method

Office Developer Reference

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

Syntax

expression.InsertBefore(NewText)

expression   An expression that returns a TextRange2 object.

Parameters

Name Required/Optional Data Type Description
NewText Optional String Contains the text to be inserted.

Return Value
TextRange2

See Also