Jump to content

Help with VBA in Excel


Recommended Posts

Hey guys, long time since I've been here.


So here's the thing, trying to build a Quiz in Excel, the questions populate randomly in Column C, and the mulitple choice answers in Column E, G, I and K.  In Column O, there is a drop down menu for answer choices (A, B, C or D).  Currently in Column Q is where the answers to the randomly populated questions show up.  This all works but would have to be manually graded.  What I'm trying to figure out is the VBA code to match Column O to Column Q.




Choose ' A ' for your answer, the correct Answer is ' A '.  After all questions are answered, click the Score button and it will highlight the correct answers green and the wrong answers red.


So, if column O = column Q, highlight green.  If column O doesn't equal column Q, highlight red.  But only from being able to click the score button.






Got it all figured out after a little help.  So no need to have this thread anymore.

Edited by Overclocker16

Share this post

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Create New...