• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: VII APPENDIXES > DEBUGGING ONE STEP AT A TIME

DEBUGGING ONE STEP AT A TIME

To work through some debugging situations, you need to be able walk a program line by line while it's executing. VBA provides four Step commands to accomplish this: Step Into, Step Over, Step Out, and Run to Cursor. You can use these commands after a program halts execution by choosing the appropriate command from the Debug menu.

Note

All four step commands skip over the same type lines of code that don't allow breakpoints: comments, declaring variables (the Dim statement), blank lines, and line labels or line numbers.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint