View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
JimRich JimRich is offline
external usenet poster
 
Posts: 4
Default debug not working

The code I am trying to run is a deactivate event that closes a userform when
the active sheet is changed. Simple code, one line. Deactivate event does
not run. The form is not closed. Debug.print does not display in the
immediate window. Nothing happens when the sheet is changed. Everything is
spelled correctly. Even if it wasn't I would get an error message and a
highlight on the line that was wrong.
I tried rebooting the computer.

"Jacob Skaria" wrote:

--Do you have any arguments to be passed for this sub routine?
--Make sure you are within a module..
--When you say you have other code executed..do you mean at the same time?
is that in the same module or else where?

If this post helps click Yes
---------------
Jacob Skaria


"JimRich" wrote:

I have some code that I am trying to fix and wanted to step through the code.
When i clicked on "Step Into" nothing happend. No other code is running.
The cursur is inside the sub routine. I have other code that is being
exicuted when i just run it but even with a breakpoint set it does not stop.
Is there a way to turn "Debug" back on?