Does anyone know how to determine how many sheets are in an xls document?
In the excel gui, you can see the number of sheets in the content tab under properties. I’ve tried looking through the buildinproperties function of aspose cells but cannot find it. I am new to Aspose.Cells and am using c#.
Is there a built in function for this?
Thanks for considering Aspose.
Well, you may use Worksheets.Count property to get the number of of sheets a workbook holds.
Worksheets worksheets = workbook.Worksheets;
int totalsheets = worksheets.Count ;