Selection.GoToPrevious(WdGoToItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Range object that refers to the start position of the previous item or a specified location.
public:
Microsoft::Office::Interop::Word::Range ^ GoToPrevious(Microsoft::Office::Interop::Word::WdGoToItem What);
public Microsoft.Office.Interop.Word.Range GoToPrevious (Microsoft.Office.Interop.Word.WdGoToItem What);
abstract member GoToPrevious : Microsoft.Office.Interop.Word.WdGoToItem -> Microsoft.Office.Interop.Word.Range
Public Function GoToPrevious (What As WdGoToItem) As Range
Parameters
- What
- WdGoToItem
The item that the specified range or selection is to be moved to. WdGoToItem.
Returns
Remarks
The GoToPrevious method moves the selection to the specified item.