MoveItem

This method moves an item specified by OldIndex from OldIndex to NewIndex.

Syntax

MoveItem (OldIndex as Long, NewIndex as Long)
Parameter Description
OldIndex

Index of the item to move.

Possible values

1 to Count

NewIndex

New index of the item after moving it.

Possible values

1 to Count