Bonjour,

J'ai un problème pour ouvrir le fichier Excel généré par ce code :


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
Workbook  wb = new HSSFWorkbook();
        try {
            FileOutputStream fileOut = new FileOutputStream("C:\\Users\\2015\\Downloads\\JAVA\\Classeur2.xls");
        } catch (FileNotFoundException ex) {
            Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
        }
    Sheet sheet = wb.createSheet("new sheet");
    Row row = sheet.createRow((short)2);
    Cell cell = row.createCell((int) 1.2);