I have below if statement and if this is true, i want to exit the macro after executing without going to the rest of the codes after end if.
If Range("B2") = "abc" Then
Range("A2").Value = "abc" & Format(today, "ddmmyy")
Range("B2:E2").Select
Selection.ClearContents
End If
is there a way to skip to end sub()? or should I replace the if statement with something else?
Many Tks in advance.
If Range("B2") = "abc" Then
Range("A2").Value = "abc" & Format(today, "ddmmyy")
Range("B2:E2").Select
Selection.ClearContents
End If
is there a way to skip to end sub()? or should I replace the if statement with something else?
Many Tks in advance.