LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default radio buttons to equal values

Using the buttons from the Control Toolbox, right click the button and put
code like the below sample in the click macro:

If OptionButton1.Value = True then
Range("A1") = Range("A1") + 20
End If

The above code assumes that one range will be used to accumulate the total
score.
If not, just eliminate the second Range("A1") + and use a different range
for each question.

"Louis" wrote:

I have an evaulation form that I want to have the user choose one of four
answers (like meets expectations, exceeds expectations, etc.) with a
numerical result on the right side of the line. I would like to add radio
buttons so if for example "exceeds expectations" is clicked then the line
registers a 20, and if "meet expectations" is met then 10 points are given,
etc.
How can I add the radio button assigned to a value?
--
Louis

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radio Buttons - Values adidas12121 Excel Discussion (Misc queries) 1 July 2nd 09 02:57 PM
Use of Radio Buttons DR Excel Discussion (Misc queries) 4 August 19th 08 07:51 PM
Option Buttons/Radio Buttons John Calder New Users to Excel 7 May 16th 08 03:51 AM
Radio Buttons Pedro Serra Excel Programming 1 October 11th 06 04:00 AM
VBA: Disable Frame and Radio Buttons based on Another Radio Button Being True Mcasteel Excel Worksheet Functions 2 October 29th 04 07:06 PM


All times are GMT +1. The time now is 01:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"