Range.GoToPrevious method (Word)

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


expression. GoToPrevious( _What_ )

expression Required. A variable that represents a Range object.


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



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

Range Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.