Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello All,
I am using some OptionButton option buttons in Excel and wish to chang their value (within VBA) without actually running the Click cod associated with them. When I use the following code to change the button value: ActiveSheet.OLEObjects("opt1").Object.Value = True The following code is automatically run: Private Sub opt1_Click() Call Display.ShowHideStocks(1, 2) End Sub However I only want the above code to run when the user actuall selects the option button - not when I modify their values via code. Any ideas? Ale -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
My CheckBoxes and Option Buttons Grow/Shrink each time I click the | Excel Discussion (Misc queries) | |||
do some code after the sheet name is changed | Excel Discussion (Misc queries) | |||
How can this code be changed | Excel Discussion (Misc queries) | |||
Code to tab from option button click | Excel Programming | |||
Code for Buttons | Excel Programming |