question about exiting a procedure
let's say i have a form with a command button
when clicked it runs a procedure in one module
when that's done it runs a second one
Private Sub CommandButton1_Click()
Application.Run ("1st sub")
Application.Run ("2nd sub")
end sub
if there is an error at a particular place in the 1st sub, i want to exit and
make sure the 2nd sub doesn't run
how do i do that? exit sub exits the 1st one and then the 2nd one runs
--
Gary
|