How to add a sheet to existing excel file in selenium webdriver

I have been adding my results in excel file and now I wanted to add another sheet to my existing Results excel file and continue adding results there.
Can anyone help me in this 🙂

Add Comment
  • 4 Answer(s)

    Are you using Apachae POI or JExcel?


    Professor Answered on May 4, 2015.
    Add Comment

    Hi Virender,

    I am using Apachae POI, but till now I am not able to get result.


    Train Answered on May 5, 2015.
    Add Comment

    Professor Answered on May 5, 2015.
    Add Comment

    XSSFSheet sheet1 = workBook.createSheet(“YourSHeetName”);

    Professor Answered on May 6, 2015.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.