Hi Rishi,
Thanks for your swift reply.
Can you be bit elaborate?
My test code:
HSSFRow row = sheet.getRow(2);
HSSFRow row2=sheet.getRow(2);
for (int c = 1; c <= row.getLastCellNum(); c++) {

                                                HSSFCell cell = row.getCell((short) c);
                                                if( cell != null && 
cell.getStringCellValue() != null){
                                                
                                                        Object obj 
=cell.getStringCellValue();
                                                        test.add(obj);  
                                        
                                                                                       
         }
                                }
                                
                        } catch (FileNotFoundException e) {

                                e.printStackTrace();
                        } catch (IOException e) {

                                e.printStackTrace();
                        }

                        return test;

                }

Reg
Jana
        

Reply via email to