Selection.MoveDown(Object, Object, Object) 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.
Moves the selection down and returns the number of units it's been moved.
public int MoveDown (ref object Unit, ref object Count, ref object Extend);
abstract member MoveDown : obj * obj * obj -> int
Public Function MoveDown (Optional ByRef Unit As Object, Optional ByRef Count As Object, Optional ByRef Extend As Object) As Integer
Parameters
- Count
- Object
Optional Object. The number of units the selection is to be moved. The default value is 1.
- Extend
- Object
Optional Object. Can be either wdMove or wdExtend. If wdMove is used, the selection is collapsed to the end point and moved down. If wdExtend is used, the selection is extended down. The default value is wdMove.
Returns
Remarks
The wdWindow constant can be used to move to the top or bottom of the active window. Regardless of the value of Count
(greater than 1 or less than – 1), the wdWindow constant moves only one unit. Use the wdScreen constant to move more than one screen.