How many worksheets can be created in an Excel workbook for automation testing?

MKod picture MKod · Mar 13, 2013 · Viewed 73k times · Source

I am working on a data driven framework for automating test cases. I use Selenium with Java, Junit, Apachi-Poi etc to create and run my test cases.

Each sheet contains data that I will use for a class (or for a testcase). So now, if I create N testcases then there should be N sheets in a workbook. But I need to know how many sheets can be created in an Excel workbook.

Answer

John Bustos picture John Bustos · Mar 13, 2013

... It depends on the Excel version, but 2007 +, there is no limit other than the amount of available memory:

http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010073849.aspx#BMworksheetworkbook