+ Reply to Thread
Results 1 to 3 of 3

Thread: Update RowSource location for ComboBox

  1. #1
    Registered User
    Join Date
    10-25-2011
    Location
    philly
    MS-Off Ver
    Excel 2003
    Posts
    15

    Update RowSource location for ComboBox

    Hello,

    I'm simply trying to update the RowSource property of 1 ComboBox based on the selection of another ComboBox

    The code:


    If ComboBox2.Value = "Dust Control" Then

    ComboBox1.RowSource = ThisWorkbook.Sheets("Catalog").Range("K1:K2")

    end if


    Returns an error. Why?

  2. #2
    Valued Forum Contributor
    Join Date
    02-20-2007
    Location
    South Africa
    MS-Off Ver
    2007
    Posts
    488

    Re: Update RowSource location for ComboBox

    If Cells K1 and K2 are merged, change range to K1
    Please consider:

    Be polite. Thank those who have helped you. Click the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,640

    Re: Update RowSource location for ComboBox

    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
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

+ 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.2.0