Forum Discussion
lillyg424
Dec 17, 2018Copper Contributor
VBA
My question now is what error is there in my code that it will not work with 2 different actions all in the same sub? They both work independently when I test them out, but I cannot figure out ho...
JWR1138
Dec 17, 2018Iron Contributor
Is it not he first occurrence of this line that's causing you issues?
If Intersect(Target, StatusTableRange) Is Nothing Then Exit SubCould do:
If Intersect(Target, StatusTableRange) Is Nothing Then GoTo LabelName
And then add LabelName: before the 2nd half of your macro runs.