Range.GoToNext(WdGoToItem) Range.GoToNext(WdGoToItem) Range.GoToNext(WdGoToItem) Method

Definition

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

public:
 Microsoft::Office::Interop::Word::Range ^ GoToNext(Microsoft::Office::Interop::Word::WdGoToItem What);
public Microsoft.Office.Interop.Word.Range GoToNext (Microsoft.Office.Interop.Word.WdGoToItem What);
Public Function GoToNext (What As WdGoToItem) As Range

Parameters

Returns

Remarks

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.

Applies to