+ Reply to Thread
Results 1 to 2 of 2

Variable Combo Box Range

  1. #1
    Registered User
    Join Date
    05-01-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    6

    Variable Combo Box Range

    Hi I am having trouble linking 2 combo boxes. I would like to populate the seccond combo box by altering the range. This alteration would be triggered through a chnage in the index provided by the first combo box I have. I have tried IF statements and Case scenarios but none seem to work. The code below is for the fisrt combo box I have. It outputs an index of 1,2,3,4 in cell D3. Ideally combox box 2 had 4 different ranges it is based upon, one for each index. Thanks in advance for any support!

    Private Sub ComboBox1_Change()

    ActiveSheet.Shapes("ComboBox1").Select
    Selection.ListFillRange = "L2:L5"


    End Sub

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Variable Combo Box Range

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

+ 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