so how do you stop?
End Sub is the proper way to end a macro procedure. End Function for
Functions. End If, End With are all normal statements for VBA code. Perhaps
what you are referring to is stopping the macro in mid procedure with just
the End statement. That can be problematic. It would be safer to Exit a
Sub or Function or an operation because that does not destroy anything.
"John" wrote in message
...
I've been using END to end a program (sub, macro). Now I read that isn't
good vba programing. What is good?
John
|