property Pages.Count as Long
Returns the number of objects in the collection.

TypeDescription
Long A long expression that specifies the number of pages in the TAB control.

The Count property counts the pages in the control.