CustomListCount Property

Applies To

Application object.

Description

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

See Also

AddCustomList method, DeleteCustomList method, GetCustomListContents method, GetCustomListNum method.

Example

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

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