Follow this guide and learn how to edit text documents, spreadsheets and presentations using GroupDocs.Editor for Java API features....setWorksheetIndex ( 0 ); //index is 0-based, so this is 1st tab...setWorksheetIndex ( 1 ); //index is 0-based, so this is 2nd tab...