Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi John,
The suggested code should read: '============= Private Sub ToggleButton1_Click() With Me.ToggleButton1 .Caption = IIf(.Value, "A", "B") .BackColor = IIf(.Value, &H8080FF, &HFF0000) End With End Sub '<<============= --- Regards, Norman |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need to Use 1 Button to toggle On or Off | Excel Discussion (Misc queries) | |||
Toggle Button | Excel Worksheet Functions | |||
toggle button text color | Excel Discussion (Misc queries) | |||
Adding .xla button for Toggle Calculation Button | Excel Programming | |||
toggle button text colour | Excel Programming |