+ Reply to Thread
Results 1 to 2 of 2

Automatically reflect List changes in data validation cells

  1. #1
    Registered User
    Join Date
    04-19-2011
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    5

    Automatically reflect List changes in data validation cells

    Hello,

    Is there a way to automatically reflect the changes done to existing List members in the cells that are data-validated against the List?

    I have a couple Lists setup and if I add new entries, the drop downs in the data validated cells already show the updated members. However if I have selected an entry from the drop down and later I go and change the entry text in the drop down I still see the old value in the cells.

    E.g. I select "John Doe" from a Resources list and at some point I change that entry for "Jane Doe". How would I make sure that all previously selected "John Doe"s are changed to "Jane Doe".

    I read an incomplete answer somewhere that suggested not modifying or deleting List entries directly but from some sort of script. Does anybody have an example for doing this?

    Thanks in advance!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Automatically reflect List changes in data validation cells

    I would accomplish this with VBA. I've explained my solution in posts #3 & #4 in this thread:

    http://www.excelforum.com/excel-prog...here-used.html


    Essentially, if you select item #2 from a drop down, Excel instantly replaces the hardcoded choice you made with a formula that has that same result, basically looking up option #2 in the original list range. Now, if you ever go and change the actual text of option 2 in that list, all cells that have that choice currently will update as well.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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.6.0 RC 1