MoveSheet Method
Moves a sheet to the specified index.
Syntax
public void moveSheet(int toIndex);
Remarks
This method moves the sheet specified by SheetIndex to ToIndex. The sheet is moved to the new index and the existing sheets are shifted to the right. Valid values for ToIndex are from 0 to SheetCount.