Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have two sheets in my workbook. One is the main sheet with radio buttons
that I am assigning macros to and the other sheet is the data sheet. What I would like to do is to whenever I check the radio button data in specific cells on a second sheet changes without actually showing that sheet. Every single time the radio button is selected data in a second sheet changes and the sheet appears with the changed data. I want the data to change but the sheet should remain hidden. Is there a way to do this. Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Diane, I'm not an expert and your post was a little vague, but this might give you a starting place. Option Explicit Private Sub OptionButton1_Click() Dim wks As Worksheet Set wks = Worksheets("Data") '<=====Change name as needed If OptionButton1.Value = True Then wks.Range("A1") = 100 End If End Sub Private Sub OptionButton2_Click() Dim wks As Worksheet Set wks = Worksheets("Data") '<=====Change name as needed If OptionButton2.Value = True Then wks.Range("A1") = 50 End If End Sub -- Casey ------------------------------------------------------------------------ Casey's Profile: http://www.excelforum.com/member.php...fo&userid=4545 View this thread: http://www.excelforum.com/showthread...hreadid=537308 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Importing Data | Excel Worksheet Functions | |||
Help PLEASE! Not sure what answer is: Match? Index? Other? | Excel Worksheet Functions | |||
data from one sheet to several in sequential order! | New Users to Excel | |||
How to change macro so it performs actions on ACTIVE sheet? | Excel Discussion (Misc queries) | |||
Pulling data from 1 sheet to another | Excel Worksheet Functions |