View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Breakpoint in Worksheet_Change sub

Hi
have you disabled application.enableevents at he beginning of your event
proecedure and not enabled it back again after stopping the execution of the
first call to this event procedure?

"konpego" wrote:

hello,

When debugging my "Worksheet_Cahnage" code I cannot
get my breakpoint to work when I have run one worksheet
change and the started to debug. When I Reset the debug
session and starts with a new WS Change, my program does
not stop on my breakpoint in the Worksheet_change
procedure...

Why?

It seems like the VB-code does not detect the a WS Change
if I have broken (reset) my execution when debugging...

Please help someone.
I have to bring Excel down and startup again to be able
to continue debugging...

/kopego