1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Public void gatArchive(String date)
{
Workbook workbook;
try{
workbook = Workbook.getWorkbook(new File(date+".xls"));
Sheet sheet = workbook.getSheet(0);
Cell g5 = sheet.getCell(6,4);
Cell g6 = sheet.getCell(6,5);
.
nc = (NumberCell) g10;
archive[5]= (int)(nc.getValue());
workbook.close();
}catch(jxl.read.biff.BiffException biffE){
System.err.println("Boulet, tu sais pas ouvrir 1 WorkBook !!!");
biffE.printStackTrace();
System.exit(1);}
}
[\code]
Bon si quelqu'un a une idée pour un boulet... |