[HIGHLIGHT="Java"]Workbook workbook = Workbook.getWorkbook(new File("myfile.xls"));
WritableSheet sheet = workbook.createSheet("First Sheet", 0);
// Create a cell format for Arial 10 point font
WritableFont arial10font = new WritableFont(WritableFont.ARIAL, 10);
WritableCellFormat arial10format = new WritableCellFormat (arial10font);
arial10format.setBackground(Colour.BLUE);
arial10format.setAlignment(Alignment.CENTRE);
// Create the label, specifying content and format
Label label2 = new Label(1,0, "Arial 10 point label", arial10format);
sheet.addCell(label2); [/HIGHLIGHT]
Hab mir das jetzt aus dem Tutorial zusammenkopiert plus den Links die ich dir das letzte mal geschrieben habe!
Denke mal ohne es getestet zu haben, das es so klappt!