What's best practice with the following piece of code?
If Condition = False Then End
' Rest of my code.
OR
If Condition = True Then
'Rest of my code.
Else
End
End if
If Condition is not met in my code, I don't want to needlessly run all of my code. Is it better practice to use an If statement above my code to prevent it from running if Condition is not met, or is it better to use a more fleshed out If statement to handle this?
The latter piece of code doesn't technically require 'End', it just circumvents the execution of my code.