Jump to content
Sign in to follow this  
Overclocker16

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.

 

Ex.

 

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.

 

Thanks.

 

Edit:

 

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...