+ Reply to Thread
Results 1 to 3 of 3

Limit Maximum Items Selected in VBA Listbox

  1. #1
    Registered User
    Join Date
    10-28-2011
    Location
    Ames, IA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Limit Maximum Items Selected in VBA Listbox

    Hi,

    I have a listbox with 50 items and I want to only let the user select a maximum of 10 items from the list at a time? is this possible?

    Thanks in advance,

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Limit Maximum Items Selected in VBA Listbox

    Use the following code:
    Please Login or Register  to view this content.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Registered User
    Join Date
    10-28-2011
    Location
    Ames, IA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Limit Maximum Items Selected in VBA Listbox

    Works Perfectly!! Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1