Selection.GoToPrevious Method
Returns a Range object that refers to the start position of the previous item or a specified location.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function GoToPrevious ( _
What As WdGoToItem _
) As Range
'Usage
Dim instance As Selection
Dim What As WdGoToItem
Dim returnValue As Range
returnValue = instance.GoToPrevious(What)
Range GoToPrevious(
WdGoToItem What
)
Parameters
- What
Type: Microsoft.Office.Interop.Word.WdGoToItem
The item that the specified range or selection is to be moved to. WdGoToItem.
Return Value
Type: Microsoft.Office.Interop.Word.Range
Remarks
The GoToPrevious method moves the selection to the specified item.