Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
checkbox with two macros
Hello
I have a doubt How set two conditional macros on a checkbox? For example if the checkbox A is clicked will be executed the Macro A if not then will be executed the Macro B. How can set this? Best Regards Jose Carlos |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
checkbox with two macros
Hi Jose,
Try something like: '============= Private Sub CheckBox1_Click() If Me.CheckBox1.Value = True Then Call macroA Else Call macroB End If End Sub '<<============= --- Regards, Norman "Jose Carlos" <Jose wrote in message ... Hello I have a doubt How set two conditional macros on a checkbox? For example if the checkbox A is clicked will be executed the Macro A if not then will be executed the Macro B. How can set this? Best Regards Jose Carlos |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Checkbox macros | Excel Discussion (Misc queries) | |||
checkbox that controls macros??? | Setting up and Configuration of Excel | |||
checkbox and macros | Excel Worksheet Functions | |||
A Print Button macro that is based on Checkbox macros | Excel Programming | |||
Checkbox Macros | Excel Programming |