+ Reply to Thread
Results 1 to 3 of 3

making a quiz

  1. #1
    Registered User
    Join Date
    01-25-2009
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    making a quiz

    hey, i wonder if anybody can help me. I want to make a quiz for my mates on excel but i want it so that once u've typed the answer into the cell it lockes the cell or summit so that you cnt edit it this is so that if they get the wrong answer they cnt change it. also i need to know a code to type in so that when the right answer is clicked the cell under says correct. and any other suggestion on what to do or how to make a quiz wud be helpful.



    thanks rossy.

    p.s i got excel 2007

  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
    To make a cell only accessible one time would require the use of VBA code. To create usable code would probably require you to design your whole quiz...layout, questions, answers, etc...and what the final look should be.

    Someone can help add code to that to lock cells as answers are entered.
    Last edited by JBeaucaire; 01-25-2009 at 05:56 PM.
    _________________
    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!)

  3. #3
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    You could try a macro like this pasted into the appropriate sheet tab in the VBA editor (shift F5).

    Please Login or Register  to view this content.
    You will need to have all the cells unlocked and the sheet protected first.

    You will need to hide the code by protecting the VBA project - Tools - VBAProject properties - Protection to avoid the password being visible.
    Martin

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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