Count function in ListBox

azhar2006

Registered User.
Local time
Yesterday, 18:05
Joined
Feb 8, 2012
Messages
240
Hello all
I want to use the Count function to calculate the number of rows in ListBox. How do I write the function? I know how to use it in a continuous form, but I don't know how to use it in ListBox .
Thanks in advance
 
Thanks DBG for the quick reply. Frankly, I don't know how to use ListCount .
Should be as simple as:
Code:
Msgbox "There are " & Me.Listname.ListCount & " items in this Listbox."
 

Attachments

  • image_2021-11-29_205933.png
    image_2021-11-29_205933.png
    6.5 KB · Views: 220

Users who are viewing this thread

Back
Top Bottom