boas, estou a seguir este toturial: http://javanamente.blogspot.pt/2010/10/exemplo-saida-de-dados-para-excel.html mas ainda mal comecei e já deu erro, que aconteceu,e stou farto de pesquisar e nada!
import java.io.File;
import java.io.IOException;
//JOptionPane
import jxl.*;
import jxl.read.biff.BiffException;
import jxl.write.*;
import jxl.write.WritableWorkbook;
public class TesteInsere {
public static void main(String[] args) throws IOException, BiffException {
// dá erro aqui: Multiple markers at this line
//- writableWorkbook cannot be
//resolved to a type
//- File cannot be resolved to a type
//- The method createWorkbook(File)
//is undefined for the type WritableWorkbook
WritableWorkbook Workbook = Workbook.createWorkbook(new File("C:\\Users\\Pedro\\Desktop\\panilha1.excel"));
WritableSheet sheet = Workbook.createSheet("pagina teste", 0);
}
}