mtampa
Board Regular
- Joined
- Oct 15, 2007
- Messages
- 61
Hi Guys,
I have a forms combo box that outputs to cell K3. When item 3 is selected and the value in cell K3 = 3, I want my macro called EMPVILL to run. However, it only fires when I type a 3 in the box and hit enter. As of now, when I change the value of the combo box to 1, 2, 3 or 4, nothing happens, it just sits there.
Here is the code I'm using:
rivate Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Address = "$K$3" Then
Select Case Target.Value
Case Is = 3: Call EMPVILL
Case Else: 'Do Nothing
End Select
End If
End Sub
Can someone point me in the right direction to make it fire when cell K3 changes to the value of 3?
Thanks,
Mike
I have a forms combo box that outputs to cell K3. When item 3 is selected and the value in cell K3 = 3, I want my macro called EMPVILL to run. However, it only fires when I type a 3 in the box and hit enter. As of now, when I change the value of the combo box to 1, 2, 3 or 4, nothing happens, it just sits there.
Here is the code I'm using:
rivate Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Address = "$K$3" Then
Select Case Target.Value
Case Is = 3: Call EMPVILL
Case Else: 'Do Nothing
End Select
End If
End Sub
Can someone point me in the right direction to make it fire when cell K3 changes to the value of 3?
Thanks,
Mike