Solved

Count items in userform listbox excel vb

Posted on 2009-04-02
3
1,027 Views
Last Modified: 2013-12-26
Is there a way to count how many items are in a listbox in an excel userform? Thanks
0
Comment
Question by:tchristie33
  • 2
3 Comments
 
LVL 4

Expert Comment

by:Avelan
ID: 24053196
Hey,

try listbox.items.count

-Avelan
0
 

Author Comment

by:tchristie33
ID: 24053224
.items is not a found method or data member.
0
 
LVL 4

Accepted Solution

by:
Avelan earned 500 total points
ID: 24053320
Hrm, how about listbox.listcount then?

-Avelan
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now