+ Reply to Thread
Results 1 to 4 of 4

If function and Combo Box

Hybrid View

  1. #1
    Registered User
    Join Date
    08-24-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    2

    If function and Combo Box

    Hello,
    I am having an issue trying to figure out how to create an if function within a Combo Box. Here is what I am trying to do:
    If my ComboBox1 (column A) is showing value "colors" I would like my other ComboBox2 (column B) to take values from column C. If my ComboBox 1 is showing anything else other than "colors" then I would like my ComboBox2 to pull values from column D.

    Any ideas?

  2. #2
    Forum Contributor
    Join Date
    05-25-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    194

    Re: If function and Combo Box

    Sounds like you'd have to use a macro for this and more than likely trigger it when a value in column A changes. Have any experience working with vba?

  3. #3
    Registered User
    Join Date
    08-19-2012
    Location
    Cambodia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: If function and Combo Box

    This can be done with VBA code. You may want to check an example of using VBA code to work with the ComboBox control. If you haven't learnt VBA for excel before, i recommend you to learn it.
    http://www.worldbestlearningcenter.c...ta-example.htm

  4. #4
    Registered User
    Join Date
    08-24-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: If function and Combo Box

    Thank you! I don't have any experience with vba but I will try to look into it.

+ 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