View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Gregg Roberts Gregg Roberts is offline
external usenet poster
 
Posts: 25
Default Stepping through gives different result than running

I have about 40 pages worth of code that checks a collection of data files
for various complex exception conditions. It is giving a false alarm on one
of them, but only when I let it run. When I step through the code as it
processes the data row that gets flagged as an error when the code runs
"freely", that data row does not get flagged.

How can I debug the code when it doesn't work the same way when I'm watching
it as when I'm not watching it?

Gregg Roberts