Share via


Range.GoToPrevious Method

Word Developer Reference

Returns a Range object that refers to the start position of the previous item or location specified by the What argument.

Syntax

expression.GoToPrevious(What)

expression   Required. A variable that represents a Range object.

Parameters

Name Required/Optional Data Type Description
What Required WdGoToItem The item to where the specified range or selection is to be moved.

Remarks

Bb238380.vs_note(en-us,office.12).gif  Note
When you use this method with the wdGoToGrammaticalError, wdGoToProofreadingError, or wdGoToSpellingError constant, the Range object that's returned includes any grammar error text or spelling error text.

See Also