+ Reply to Thread
Results 1 to 6 of 6

Select next value from data validation list by clicking cell

  1. #1
    Registered User
    Join Date
    02-05-2013
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2010
    Posts
    39

    Select next value from data validation list by clicking cell

    Hello there,
    I have a range of cells (D6:BO42), each cell has a data validation list from a named range (=Selection). Is it possible to scroll through the data validation list by clicking on the cell. For example, if my data validation list (=selection) was made up of four options A,B,C,D, if a cell was empty ( in range D6:BO42) one click = A, two click = B, Three click = C, four click = D then five click returns to empty. Kind of similar to the old school minesweeper game (clear,flagged,mine)?

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Select next value from data validation list by clicking cell

    Hi,

    Maybe something like the attached file ?

    Regards
    Attached Files Attached Files
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  3. #3
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    861

    Re: Select next value from data validation list by clicking cell

    Hello karedog
    I like your solution. It's working fine but pls tell me what is the goal of this particular line:
    Please Login or Register  to view this content.
    Thanks for your time.
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  4. #4
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Select next value from data validation list by clicking cell

    Quote Originally Posted by bulina2k View Post
    Hello karedog
    I like your solution. It's working fine but pls tell me what is the goal of this particular line:
    Please Login or Register  to view this content.
    Thanks for your time.
    Hi,

    Sorry, that line is unnecessary and can be deleted. When I coding the first time, I don't see the OP requirement that the validation cell can be empty, later when I about to post, I just realized it and suddenly changed my code, but I missed to delete that line.

    Regards

  5. #5
    Registered User
    Join Date
    02-05-2013
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Select next value from data validation list by clicking cell

    Cheers karedog, that works great!

  6. #6
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Select next value from data validation list by clicking cell

    Hi mr_mango81, glad to hear this solve the problem and many thanks for the reps.

    Regards

+ 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. Update certain Cell based on clicking one data validation box
    By bcn1988 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2012, 02:37 PM
  2. macro to select next in data validation list
    By ryan00davis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2007, 09:34 PM
  3. Using a 'Select' (Data Validation) List?
    By [email protected] in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-30-2005, 02:45 PM
  4. [SOLVED] How to dynamically select a validation list from data in a cell?
    By sessc in forum Excel General
    Replies: 1
    Last Post: 07-28-2005, 02:06 PM
  5. Replies: 2
    Last Post: 07-20-2005, 10:05 PM

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