Is there a way to exit out of a sub routine once a certain condition has been met? I have an If statement, which if true, I would like it to exit the sub routine and not continue with the rest of the code. Any help would be great. I tried exit sub, but it doesn't seem to work.