K
Kevin
Hi,
I'm trying to run a macro automatically as soon as I enter specific text in
any cell of column A.
I have managed to run following code which works fine but it activates
macro as soon as I click cell in column A.
But I like to activate macro only if I add text "PAID" in any cell of column
A. Could someone please help. Here's the code:
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
If Not Intersect(Target, Range("A1:A3000")) Is Nothing Then
Call OpenCalendar
End If
End Sub
Thanks in advance
Kevin
I'm trying to run a macro automatically as soon as I enter specific text in
any cell of column A.
I have managed to run following code which works fine but it activates
macro as soon as I click cell in column A.
But I like to activate macro only if I add text "PAID" in any cell of column
A. Could someone please help. Here's the code:
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
If Not Intersect(Target, Range("A1:A3000")) Is Nothing Then
Call OpenCalendar
End If
End Sub
Thanks in advance
Kevin