Description
Moves a worksheet to a different position in the workbook.
C#
vb.net
Parameters
sheet
A Worksheet object representing the sheet to move.position
The 0-based position to which to move the specified worksheet. Ifposition
is less than 0, the sheet will be the first sheet in the workbook. If position
is equal to or greater than Worksheets.Count, it will be inserted after the last worksheet.
Examples
C#
vb.net