Search code examples
javaexcelapache-poipoi-hssfvba

How to know number of sheets in a workbook?


I'm using hssf api for reading data from xls files. But is there any way to get the exact no. of sheets in a workbook containing stored data?


Solution

  • What does getNumberOfSheets return you?