Share via


TextRange2.TrimText Method

Office Developer Reference

Returns a TextRange2 object that represents the specified text minus any trailing spaces.

Syntax

expression.TrimText

expression   An expression that returns a TextRange2 object.

Return Value
TextRange2

See Also