DoCmd.SingleStep method (Access)

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

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.