// Create a new workbook Workbook workbook = new Workbook(); //Load template file Home inventory.xlsx from resource to the source workbook Workbook source_workbook = new Workbook(); InputStream source_fileStream = this.getResourceStream("xlsx/Home inventory.xlsx"); source_workbook.open(source_fileStream); //Move content of active sheet from source workbook to the current workbook before the first sheet IWorksheet move_worksheet = source_workbook.getActiveSheet().moveBefore(workbook.getWorksheets().get(0)); move_worksheet.setName("Move of Home inventory"); move_worksheet.activate(); // Save to an excel file workbook.save("MoveWorksheetBetweenWorkbooks.xlsx");