Generate the number of an optionbutton in a cell

Ype

New Member
Joined
Apr 23, 2009
Messages
6
I want to create a multiple choise test in MS Excel 2007.


A question is stated on top of the groupbox. 3 Optionbuttons are in that box and hold the answers in the caption.
To create a list so i can compare questions and answers i create two collums; one containing the correct number of the optionbutton with the correct answer in the caption, the other containing the answer given by the user.

Thus I want put 1,2,3 in a cel according to wich optionbutton is selected. But i want to repeat this several times (so i can create different multiple choice questions).

This might be very easy for most of you, but I can't seem to get it working.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
I hope the question is easy to understand.
If not, let me know.

Thanks in advance.
 
Upvote 0
Going to bed, hoping in the morning an answer will be found.
Thanks in advance (again).
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top