Goldfield
New Member
- Joined
- Oct 29, 2008
- Messages
- 48
I have two radio/option boxes linked to a cell e.g. A1
When I click the different option boxes the values changes (0, 1 or 2)
I want to trigger an event when the value in A1 changes (when an option is selected)
I have tried
_______________
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
Me.Range("$C$1") = "The event was triggered"
End If
End sub
_______________
Clicking the option box does not trigger the event, if I go to cell A1 and manually type 1, the equivalent of selecting option box 1 the event triggers just fine, but not if I just click the button)
How can I work around this???
When I click the different option boxes the values changes (0, 1 or 2)
I want to trigger an event when the value in A1 changes (when an option is selected)
I have tried
_______________
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
Me.Range("$C$1") = "The event was triggered"
End If
End sub
_______________
Clicking the option box does not trigger the event, if I go to cell A1 and manually type 1, the equivalent of selecting option box 1 the event triggers just fine, but not if I just click the button)
How can I work around this???