Share via


collapse Method

Moves the insertion point to the beginning or end of a range.

expression.collapse(start)

*expression   * Required. An expression that returns one of the objects in the Applies To list.

start    Optional Boolean. True moves the insertion point to the beginning of the text range. False moves the insertion point to the end of the text range. Default value is True.

Applies to | IHTMLTxtRange Object