ControlFormat.ListCount Property
Excel Developer Reference |
Returns the number of entries in a list box or combo box. Returns 0 (zero) if there are no entries in the list. Read-only Long.
Syntax
expression.ListCount
expression A variable that represents a ControlFormat object.
Example
This example adjusts a combo box to display all entries in its list. If Shapes(1)
does not represent a combo box, this example fails.
Visual Basic for Applications |
---|
|
See Also