+ Reply to Thread
Results 1 to 2 of 2

Adding values to list box from combo box

  1. #1
    Registered User
    Join Date
    06-07-2010
    Location
    Bristol, UK
    MS-Off Ver
    Excel 2010
    Posts
    44

    Adding values to list box from combo box

    I have a form with a combo box, a list box and a button. The combo box has been populated with the numbers from 1 to 113

    What I want to do is let the user select a value from the combo box and then when the button is clicked the selected value is entered into the listbox.

    I can't work out how to get values into the list box. Any ideas?

    Also, how are the values from the list box stored? Is it in an array?


    Thanks!

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,979

    Re: Adding values to list box from combo box

    Something like:
    Please Login or Register  to view this content.
    should do for adding the selected item.
    Yes, the listbox items are available as an array using the List property.
    Everyone who confuses correlation and causation ends up dead.

+ 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