+ Reply to Thread
Results 1 to 3 of 3

filling a combobox with a dynamic list

  1. #1
    Registered User
    Join Date
    12-28-2012
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    12

    filling a combobox with a dynamic list

    Hi,

    I have a combobox on sheet "selection", and the items I want to list in the combobox is on sheet "list" in a column starting at "A3" and going down. I have the following code for this:

    Please Login or Register  to view this content.
    Right now, I only have 10 items on the list, so the range is "A3:A12", but I want to let the user be able to add or subtract from the list. How do I make it so that the combobox will update the range accordingly? Also, is there a way to make the combobox update when someone hits the drop-down arrow of the combobox?

    Thanks for your help.

    Moderators note: code tags added for you - this time
    Last edited by FDibbins; 12-29-2012 at 09:11 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: filling a combobox with a dynamic list

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    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

  3. #3
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    817

    Re: filling a combobox with a dynamic list

    In sheetmodul "selection".
    Please Login or Register  to view this content.
    Kind regards, Harry.

  4. #4
    Registered User
    Join Date
    12-28-2012
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: filling a combobox with a dynamic list

    Works perfect! thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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