In vba it was very convenient to use “END” the exit a sub at any point. I have a lot of code that I am trying to translate to .net . I was hopeful if I could find a “END” substitute so that I do not have to rewrite a lot of code.
Thank you in advance
Solved! Go to Solution.
Solved! by arcticad. See the answer in context.
You can use "Exit Sub" or "Return"
You could also simply employ code logic which would preclude the processing of additional code if the appropriate test expression(s) are not satisfied.
Access a broad range of knowledge to help get the most out of your products and services.