In This Topic
Moves the sheet at the specified position to the specified newposition.
Syntax
'Declaration
Public Overloads Sub Move( _
ByVal As Short, _
ByVal As Short _
)
public void Move(
short ,
short
)
Parameters
- oldPosition
- The current position (index) of the sheet you want to move.
- newPosition
- The new position you want to move the sheet to. If the new position is less than zero, the sheet will be moved to the begining of the collection (0). If the new position is greater than the upper bound of this collection, the sheet will be moved to the end of the collection.
See Also