8.1.26.10 Worksheet::GetIndex
It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021. |
Contents
Description
Get the index of the worksheet
Syntax
GetIndex()
Parameters
Return
the index of the worksheet in workbook
Examples
wks=PyOrigin.WorksheetPages('Book1').Layers(0) print('The index of the sheet is %s' % wks.GetIndex())