Assuming you are using the usermodel.
HSSFSheet.getRow() then
HSSFRow.getCell() then
HSSFCell.getRichStringCellValue() or HSSFCell.getNumericCellValue()
However, cell may contain string (Excel text or formula) or double
(formula result or single value). You need to use a switch statement to
determine its type using the values HSSFCell.<static cell ID> before
call. Following is the API.
http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFCell.html
Also, it would help if you had scan though the API and the tutorial
website in the following. It seems like you are still uncertain how HSSF
POI usermodel works please read the tutorial site in the following and
API reference above, plus what I have outlined earlier to help you
understand how HSSF POI works.
http://poi.apache.org/hssf/quick-guide.html
Hope this helps.
Andy Chien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]