I have the following
If Not Intersect(Target, Range("H7:H37, I7:I37, N7:N37, O7:O37")) Is Nothing Then
If Target.Count > 1 Then Exit Sub
As in the above example, the range of cells will continue to be 2 columns and then skip 4 columns, 2 columns and then skip 4 columns, etc. This pattern will continue for 180 times.
Is there any way to do this without physically typing in every range in the argument?
If Not Intersect(Target, Range("H7:H37, I7:I37, N7:N37, O7:O37")) Is Nothing Then
If Target.Count > 1 Then Exit Sub
As in the above example, the range of cells will continue to be 2 columns and then skip 4 columns, 2 columns and then skip 4 columns, etc. This pattern will continue for 180 times.
Is there any way to do this without physically typing in every range in the argument?