How do I “trigger” vba code execution? Here is the problem and my sample code:
I know that I can go to Run Macro, select macro I created and it will run, but it is not good enough for my situation.![]()
Sub test() Range("A1").Select If ActiveCell = 1 Then ActiveCell.Offset(0, 1) = 2 End If End Sub
I would like code to execute as soon as 1 is entered in A1 (as in above example.)
I would appreciate any help, suggestions.
Bookmarks