Thread: End Double Sub
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default End Double Sub

hi,
not sure because i haven't seen your code but i would say
combine the two macros. put the called macro inside the
main macro as an if then else. that way you only have 1
macro to stop.

-----Original Message-----

I'm having difficulties Ending a macro.

a Sub calls an other Sub that also investigates if a

value already
exists in a range of cells. If it doesnt exist, the main

sub can go on,
*else both Subs has to end*

The last part doesn work, i can only stop the sub I'm

working in.

How to solve this problem?

Thx


--
Zurn
----------------------------------------------------------

--------------
Zurn's Profile: http://www.excelforum.com/member.php?

action=getinfo&userid=14645
View this thread:

http://www.excelforum.com/showthread...hreadid=267249

.