Restart execution

You can restart execution from break mode. Restarting returns the code to a newly initialized state, resetting all variables and removing any suspended procedures from memory.

To restart execution

  1. On the Run menu, choose Reset <projectname>, or use the toolbar shortcut: image of toolbar button to reset.

  2. On the Run menu, choose Run Sub/UserForm (F5), or use the toolbar shortcut: image of toolbar button to start.

See also

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.