Syntax

expression.Move(MsoMoveRow, RowNbr)

expression A variable that represents an OfficeDataSourceObject object.

Parameters

Name Required/Optional Data Type Description
MsoMoveRow Required MsoMoveRow A constant specifying which row to move.
RowNbr Optional Integer The number of the destination row.

Return Value
Integer

Example
The following example moves the first row in the set of records to the third row.

Visual Basic for Applications
oOdso.Move(msoMoveRowFirst, 3)

See also: