+ Reply to Thread
Results 1 to 2 of 2

Conditionally Format Form Control Combo Box?

  1. #1
    Registered User
    Join Date
    08-20-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    2

    Conditionally Format Form Control Combo Box?

    Is there a way to use conditional formatting on form control combo boxes? Suppose I have two rows for data entry with form control combo boxes (that's what you call drop downs, right?). Is there a way to make it so that if a user selects a value from one drop down, the other gets blacked out or locked or something visual happens to the non-selected dropdown so the user knows not to use both dropdowns but choose one or the other?

    Furthermore, is there a way to do this without using macros?

    Essentially I've got a client who will not let anything with macros run on its computers but we want the Excel file they use for data entry to present them with two drop downs but which are mutually exclusive (you only should select something from one of the two).

    Furthermore, I know a solution using just data validation (use conditional formatting on the cells in a hidden tab that have the "source" options you can choose from), but a data validation drop down does not have other desired behavior (drop down arrow appears outside the cell, etc.).

    So is there a way to conditionally format (or conditionally lock/protect/freeze) a form control combo box without using macros/VBA?

    Thank you!

  2. #2
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Conditionally Format Form Control Combo Box?

    If I understand your problem correctly, you could do this:

    Fill the data collection for the second drop down not with the original values, but with something like =IF(first chosen value = "John","","John")
    This way it won't appear in the list if it is entered in the first dropdown
    When I say semicolon, u say comma!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Resetting a form control combo box without using VBA
    By Chris Shepherd in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-22-2013, 10:47 PM
  2. [SOLVED] Want to combine 8 separate form control to a combo box
    By kamaaina in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-11-2013, 12:39 AM
  3. [SOLVED] Hide Rows With Combo Box (Form Control)
    By needexcelhelp123 in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 09-13-2012, 04:10 PM
  4. Assigned Macro to Combo Box(Form Control)
    By pantus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2009, 04:43 PM
  5. [SOLVED] Control Tab from Combo box- format control missing!!
    By Mo in forum Excel General
    Replies: 3
    Last Post: 01-07-2005, 10:06 AM

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