Gosub - Goto ?
I'm racking my brain; I thought there was a command called gosub that would
take you to a routine in your macro and then return to the gosub command.
for example.
sub test()
if x=5 gosub calc_routine
exit sub
: calc_routine
' do something
return
end sub
I've searched this site and MS and I'm stuck.
Thanks
|