L
layla
Hi,
I call a subroutin inside my main macro.there is a conditional
statment inside the subroutin which if it true,the program must give a
message,and terminate.My code look something like this:
sub macro1()
if ...then
exit sub
end if
end sub
sub main()
call macro1
...
end sub
my question is:
How can I exit from from main if the bug is in the macro1
Thanks!
I call a subroutin inside my main macro.there is a conditional
statment inside the subroutin which if it true,the program must give a
message,and terminate.My code look something like this:
sub macro1()
if ...then
exit sub
end if
end sub
sub main()
call macro1
...
end sub
my question is:
How can I exit from from main if the bug is in the macro1
Thanks!