View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Brian Matlack[_72_] Brian Matlack[_72_] is offline
external usenet poster
 
Posts: 1
Default Check Point in VBA


Hi!
I would like to have a point in my code that displays a message box
that asks the user if they wish to continue or exit the macro. A simple
"Yes" and "No" button would be ok. This may be a point in the main macro
or a point in one of the subroutines.
1. What would the code look like for stopping the entire macro.
2. What would the code look like to stop the subroutine only.

Thanks for any help or advice!!


--
Brian Matlack
------------------------------------------------------------------------
Brian Matlack's Profile: http://www.excelforum.com/member.php...fo&userid=3508
View this thread: http://www.excelforum.com/showthread...hreadid=540310