Answer the question
In order to leave comments, you need to log in
How to fix the error (parsing xls)?
Good afternoon! There is a task to parse xls. Everything seems to be fine and I have already done this more than once, I use the apache.poi library.
Three lines of code
HSSFWorkbook xlsxFile = new HSSFWorkbook(new FileInputStream("../отчет.xls"));
HSSFSheet xlsxList = xlsxFile.getSheet("Лист1");
System.out.println(xlsxList.getRow(10).getCell(0));
Answer the question
In order to leave comments, you need to log in
Well, how do they usually fight? Java, on the other hand, will not give birth to data, if they are not there
, weed out problematic lines, parse them manually
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question