Jump to content
Sign in to follow this  

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this