getActiveSheetIndex();
The getActiveSheetIndex method returns an index of the opened report sheet.
The example of method use is given in description of the Report.getSheets method.
See also:
Report