CustomListCount Property

Microsoft Excel Visual Basic

CustomListCount Property

       

Returns the number of defined custom lists (including built-in lists). Read-only Long.

Example

This example displays the number of custom lists that are currently defined.

MsgBox "There are currently " & Application.CustomListCount & _
    " defined custom lists."