http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFSheet.html says HSSFSheet implements Iterable which it doesn't- neither in 3.2 final nor 3.5b5. Would there be any chance to get the Iterable implementation into 3.5 or (less preferred) fix the docs?
HSSFSheet *IS* iterable in terms of common SS interfaces: The following code compiles and works for me: Workbook wb = new HSSFWorkbook(new FileInputStream("test.xls")); Sheet sh = wb.createSheet(); for(Row row : sh){ for(Cell cell : row){ } } Yegor