DoCmd.SingleStep Method

Access Developer Reference

Pauses macro execution and opens the Macro Single Step dialog box.

Version Information
 Version Added:  Access 2007

Syntax

expression.SingleStep

expression   A variable that represents a DoCmd object.

Remarks

The SingleStep method will not stop the execution of or assist in debugging Visual Basic for Applications (VBA) code. Use the Stop statement to pause execution of VBA code.