+ Reply to Thread
Results 1 to 1 of 1

Locking or Unlocking validated cells depending on the previous cell

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    Bristol
    MS-Off Ver
    Excel 2003
    Posts
    1

    Unhappy Locking or Unlocking validated cells depending on the previous cell

    Reveal questions.xls

    Hello All,

    This is my first post here so please be kind (I am no VBA expert that's for sure)

    I have a simple protected spreadsheet that has a list of questions in rows grouped into 10 sets of 3-5 questions with yes no drop-down (validation) answers in column C.

    SIMPLY (ha!), all I need to do for each question set is have the first "Yes/No" dropdown unlocked and the remaining questions in that set locked with a colour fill. With each "No" answer, the next cell in that column (row beneath) unlocks. The user answers "Yes" or "No" in question set 1 until they can go no further (i.e. they answer yes for a question) and thenmove onto question set 2, 3, 4 etc

    e.g. C2 "Yes/No" is unlocked, C3:C5 are locked with pale yellow fill. IF C2 = "No", C3 "Yes/No" = unlocked and C4:C5 remain locked. IF C2 = "Yes", C3:C5 Remain locked and so on

    This needs to be possible for all related question sets on the same sheet e.g C7 is unlocked and C8 is locked IF C7 = "No", C8 = unlocked. IF C8 = "Yes", C8 remains locked and so on.

    Something like this but vastly expanded:

    Please Login or Register  to view this content.
    Please does anyone have a simple-to-understand answer. I have seen many similar queries, but none that fit.

    Cheers
    Last edited by biajw; 06-05-2014 at 12:01 PM.

+ 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. Locking and unlocking a range of cells based on a fomula cell value change.
    By tyeinse in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-07-2014, 07:35 PM
  2. Conditional Cell Locking/Unlocking From Previous Drop Down
    By UnreadSix in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2014, 04:45 PM
  3. Locking and unlocking of cells
    By srinivassurapareddi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2012, 02:19 AM
  4. Locking and Unlocking Cells
    By vikas.bhandari in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2010, 10:27 AM
  5. Unlocking/Locking Cells with a button
    By No.Solutions. in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-22-2008, 11:27 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