M Mike H Jan 6, 2009 #2 Hi, You could do this. Right click your sheet tab, view code and paste this in and then try selecting A1 Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Address = "$A$1" Then MyMacro End If End Sub Sub MyMacro() MsgBox "You Did it" End Sub Mike
Hi, You could do this. Right click your sheet tab, view code and paste this in and then try selecting A1 Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Address = "$A$1" Then MyMacro End If End Sub Sub MyMacro() MsgBox "You Did it" End Sub Mike
A artzuka Jan 6, 2009 #3 Thanks, It works well... "Mike H" kirjoitti: Hi, You could do this. Right click your sheet tab, view code and paste this in and then try selecting A1 Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Address = "$A$1" Then MyMacro End If End Sub Sub MyMacro() MsgBox "You Did it" End Sub Mike Click to expand...
Thanks, It works well... "Mike H" kirjoitti: Hi, You could do this. Right click your sheet tab, view code and paste this in and then try selecting A1 Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Address = "$A$1" Then MyMacro End If End Sub Sub MyMacro() MsgBox "You Did it" End Sub Mike Click to expand...