Open the Visual Basic Editor and add the following code lines to the specific sheet:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" And Range("A1").Value = 1 Then MsgBox "I'm a macro"
If Target.Address = "$A$2" And Range("A2").Value = 2 Then MsgBox "I'm another macro"
End Sub
Result:
Only if the value of cell A1 changes to 1, Excel displays a Msgbox.
Only if the value of cell A2 changes to 2, Excel displays another Msgbox.
I guess this is what you want.
Hope this helps..