Run/call a macro when value in cell A5 changes
I tried to copy and past as suggested but I get this msg: Ambiguous name
detected: Worksheet_change.
Do you have an idea why ?
Thank you so far !
"Arno" wrote:
Hello,
I need a macro to run/call another macro when values in cell A5 changes.
Can you please advise if the syntax below is correct.
So far I cannot get it to work ....
Thank you !! Arno
Sub Last()
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$5" Then
Graph2
End If
End Sub
|