WorksheetCollection.SwapSheet

WorksheetCollection.SwapSheet method

Swaps the two sheets.

public void SwapSheet(int sheetIndex1, int sheetIndex2)
ParameterTypeDescription
sheetIndex1Int32The first worksheet.
sheetIndex2Int32The second worksheet.

See Also