Results 1 to 3 of 3

Thread: How to lock a cell after making entry in Microsoft Excel

  1. #1
    Join Date
    Jan 2012
    Posts
    26

    How to lock a cell after making entry in Microsoft Excel

    I am creating a test using excel 2003 that will self upgrade and give the tester information to review when they get the answer incorrect. What I would like to do is only give them one chance to answer. I do not want them to be able to change their answer. I would like them to enter their answer in a cell. If they get it incorrect, through data validation, a box will pop up to tell them what they need to do, by going back and studying. When they close the data validation box, I would like the answer to stay incorrect and the cell to lock so that they can not change their answer. Can someone help me with this.

  2. #2
    Join Date
    May 2011
    Posts
    410

    Re: How to lock a cell after making entry in Microsoft Excel

    I would suggest you re-think the Data Validation message part. If they get it incorrect, data Validation will pop up a message telling them they have it wrong and "retry" or "cancel". Cancelling will leave the cell blank. You can lock a cell via VBA after any value is entered but I don't know from where you will get a message to pop up when incorrect answer is given. Lookup table and some code maybe.

  3. #3
    Join Date
    Jan 2012
    Posts
    26

    Re: How to lock a cell after making entry in Microsoft Excel

    Well the idea behind the data validation is, when they get it wrong then it tells them what policy to read to get the correct answer. I put Select "ok" to continue that leaves the incorrect answer but I am sure some will go back and change. The main idea is for them to learn the information but I have been requested to see if I can make it unable to change. Any other suggestions? Also, can you put a hyperlink into a data validation error message.

Similar Threads

  1. Lock drop down cell in Microsoft Excel
    By Thedevotee in forum MS Office Support
    Replies: 2
    Last Post: 15-02-2012, 05:48 PM
  2. Tips for making calculations in Microsoft Excel.
    By Jaques Strapp in forum Tips & Tweaks
    Replies: 0
    Last Post: 08-01-2012, 11:09 AM
  3. How to stretch only one cell in Microsoft Excel Worksheet
    By AbiaA in forum MS Office Support
    Replies: 2
    Last Post: 05-01-2012, 06:04 PM
  4. Replies: 6
    Last Post: 15-09-2011, 12:49 PM
  5. Partial matching of cell in Microsoft Excel
    By KANAN14 in forum Windows Software
    Replies: 3
    Last Post: 04-12-2009, 02:20 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
  •  
Page generated in 1,716,452,646.16848 seconds with 16 queries