swap_sheet method

swap_sheet(self, sheet_index1, sheet_index2)

Swaps the two sheets.


def swap_sheet(self, sheet_index1, sheet_index2):
    ...
ParameterTypeDescription
sheet_index1intThe first worksheet.
sheet_index2intThe second worksheet.

See Also