Count Property (IWorksheets)
Gets the number of worksheets in the workbook.
'Declaration
ReadOnly Property Count As Integer
'Usage
Dim instance As IWorksheets
Dim value As Integer
value = instance.Count
Property Value
An integer value represents the number of worksheets in the workbook.