+ Reply to Thread
Results 1 to 4 of 4

Data Validation List Updates

  1. #1
    Registered User
    Join Date
    12-21-2017
    Location
    Grand Rapids, Michigan
    MS-Off Ver
    2010
    Posts
    33

    Data Validation List Updates

    I have several data validation drop-down lists. They are wonderful to automatically populate with a list of rooms. Once a selection is made, the "Space Requirement Data Sheet" VLOOKUPs a host of occupancy and size data for whichever room is specified. It makes creating a series of Space Data Sheets much quicker when I don't have to manually type the room name, let alone re-type all the other data. However, I noticed that if a room name changes or is updated. The change does not filter through. Even though the drop-down list is linked to the original set of room names and the drop-down options themselves update, the previous selection does not update. I believe this is because when you select a drop-down option you are essentially inputting new data, not referencing any other tab or cell. Any thoughts?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,691

    Re: Data Validation List Updates

    You are correct. Once you have selected a value in a Data Validation dropdown list, that value will not automatically change or be flagged as invalid if you change the source for the list.

    To do something like that requires macros. If you would like help with doing this with macros then attach your file and describe what you are doing.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    12-21-2017
    Location
    Grand Rapids, Michigan
    MS-Off Ver
    2010
    Posts
    33

    Re: Data Validation List Updates

    Sure! So "Space Requirement Data Sheets" VLOOKUPs Programming Worksheets. The "Space" drop-down list is one location where this occurs. It's at the top of each data sheet. Similar drop-downs are located under "Adjacencies".
    Attached Files Attached Files

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,691

    Re: Data Validation List Updates

    Using a list in one workbook to populate data validation in another adds a whole new dimension to this problem. Plus you have a lot of these lists. I'm not saying it can't be done but I am not able to make the time to do this in a free forum.

    The strategy would be if you make a change in the Programming Worksheets file that affects a list used by the other file, then the code would have to open the Space Data file and check for all the places that list is used, and check to see whether the change affected any of them, then prompt the user to enter a replacement.

    If you change one entry in a list, and want any selected items with that entry to be changed to match, that could be done too, but you would have to be specific about how to tell the difference between that and deleting entries. For example, if your list is

    Auditorium #G101
    Auditorium #G113
    Band #G122
    Changing

    Suppose we rename Band #G122 to Band Room #G122. Anywhere the user has selected Band #G122, you would want it to be replaced by Band Room #G122.

    Now let's say we want to remove Band #G122. Now Changing will be the third item. You have to have a way to distinguish between removing Band #G122 and requiring the user to enter a new space, vs. changing all user selections of Band #G122 to Changing.

+ 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. Replies: 1
    Last Post: 01-14-2018, 11:04 AM
  2. [SOLVED] Data Validation: How to clear/delete the content of the cell and not Data Validation List?
    By lukelucky in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2015, 09:42 AM
  3. Replies: 4
    Last Post: 11-14-2014, 05:32 AM
  4. Replies: 4
    Last Post: 12-19-2013, 10:44 AM
  5. Replies: 5
    Last Post: 07-17-2012, 01:34 AM
  6. Replies: 3
    Last Post: 04-11-2011, 05:52 PM
  7. Different workbook data validation which updates list
    By Directlinq in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-23-2009, 07:38 AM

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