is there a proper way to count elements of an enum in VBA ? At the moment, I leave an enum value such as KeepThisOneHere in the following example
KeepThisOneHere
En
Sub count() Dim n, c For n = headers.frstItem To headers.lastItem c = c + 1 Next Debug.Print c End Sub