Hi,
I'm looking to count the number of items in a listbox on a form using vba. Can anyone help please
Many thanks
Hi,
I'm looking to count the number of items in a listbox on a form using vba. Can anyone help please
Many thanks
ListIndex+1
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
![]()
Debug.Print ListBox1.ListCount
Many thanks guys for your speedy responses. Invaluable as ever!!
Hi Guys I have the same concern, but I didn't understand the solution.
how can I have count of checked items of the listbox on cell?
Isaacadete Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.
If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.
Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks