Application.CustomListCount property (Excel)

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



expression A variable that represents an Application object.


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

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.