I presume your compiler error is being reported on the last line of your example. This seems very weird because the literal constant '0' should have type 'int'. Are you using a non-standard java compiler?
Furthermore, I don't recall there ever being multiple overloaded versions of HSSFWorkbook.getSheetAt(). Which version of POI are you using? Some POI methods are overloaded with both 'short' and 'int' parameters, but getSheetAt has only one declaration in POI 3.6. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
