View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson[_3_] Dave Peterson[_3_] is offline
external usenet poster
 
Posts: 2,824
Default VBE dark red highlight

That's breakpoint.

You can also set it by selecting a line of code and hitting
Debug|Toggle Breakpoint (or just hitting F9).

It's useful when you know the first portion of code works correctly, but you're
trying to debug a later portion.

Your code will run until it gets to this breakpoint and then pause execution--so
you can step through it or examine variables--or whatever you want.

Then you can hit F8 to start stepping and then Run (on the menubar or F5) to
continue.

Otto Moehrbach wrote:

Excel 2002, WinXP
Within the VBE, within a module, there is a vertical bar at the left side of
the module area. If I click in that bar to the left of a line of code, I
get a dark red dot in that bar and that line of code is highlighted the same
dark red.
What is this?
What is its purpose?
Does it effect the operation of the code? If so, how?
Thanks for your help. Otto


--

Dave Peterson