I have a line of code to trigger a macro when a cell in specified column range is selected:
Is there a simple modification I can make so the macro will not be triggered when I insert a new row?
VBA Code:
If Target <> "" And Not Intersect(Target, Range("D6:D1048576")) Is Nothing Then
Is there a simple modification I can make so the macro will not be triggered when I insert a new row?