How would I kill a macro - just end it all - from a userform called from a macro?
Brief description:
Macro is called.
Userform is called
If Cancel, Exit userform & macro
else continue macro.
I think I'm over scrutinizing this a little bit..
How would I kill a macro - just end it all - from a userform called from a macro?
Brief description:
Macro is called.
Userform is called
If Cancel, Exit userform & macro
else continue macro.
I think I'm over scrutinizing this a little bit..
Regards, Zack Barresse
Check out the KB! :|: BOARD TAGS: WHAT ARE THEY AND HOW DO I USE THEM
What is a Microsoft MVP? | Free Microsoft Courses | My Book on Excel Tables
Use the End statement to stop ALL code.
If (Cancel Command Button Is Pressed) Then End Else 'More Code Here End If
Ah, very cool! I didn't know you could do that, exactly what I was looking for. Thanks Jake! Youdda man!!
Regards, Zack Barresse
Check out the KB! :|: BOARD TAGS: WHAT ARE THEY AND HOW DO I USE THEM
What is a Microsoft MVP? | Free Microsoft Courses | My Book on Excel Tables