Step Into, Step Over, Step Out Commands (Debug Menu)
Executes code one statement at a time.
When not in design mode, Step Into enters break mode at the current line of execution. If the statement is a call to a procedure, the next statement displayed is the first statement in the procedure.
At design time, this menu item begins execution and enters break mode before the first line of code is executed.
If there is no current execution point, the Step Into command may appear to do nothing until you do something that triggers code, for example click on a document.
Toolbar button: . Keyboard shortcut: F8.
Similar to Step Into. The difference in use occurs when the current statement contains a call to a procedure.
Step Over executes the procedure as a unit, and then steps to the next statement in the current procedure. Therefore, the next statement displayed is the next statement in the current procedure regardless of whether the current statement is a call to another procedure. Available in break mode only.
Toolbar button: . Keyboard shortcut: SHIFT+F8.
Executes the remaining lines of a function in which the current execution point lies. The next statement displayed is the statement following the procedure call. All of the code is executed between the current and the final execution points. Available in break mode only.
Toolbar button: . Keyboard shortcut: CTRL+SHIFT+F8.