View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
eAlchemist eAlchemist is offline
external usenet poster
 
Posts: 9
Default MsgBox cancels "Step Into" Mode!

Put a break point (click on the left margin or right
click-Toggle-Breakpoint) on the line after the Msgbox line

--
Chris Farkas
Excel/Access Developer
http://www.eAlchemy.biz


"Kip Martin" wrote:

I don't get it. I am just trying to debug a macro. So I press F8 to initiate
the "Debug - Step Into" mode, and everything is working as expected until I
hit a MsgBox statement that just displays a message and an OK button. As
soon as I press the OK button, VBA seems to 'forget' that I was in Step Mode
and just takes off and runs the rest of the macro. Anyone have any idea what
could cause this?