Stop a running VBA code

Anonymous
2020-12-09T14:47:46+00:00

I had a mistake in my code and it entered in a indefinite loop. Is there  a command to stop it?

thanks

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. George Hepworth 22,220 Reputation points Volunteer Moderator
    2020-12-09T15:20:32+00:00

    Not really. You can try to use the ctrl+break key combination to break into it. That may not work. I've had to result to killing the MS Access process in Task Manager when I really borked something like that.

    Just make sure you fix the problem before trying it again. :)

    0 comments No comments
  2. Anonymous
    2020-12-09T15:25:52+00:00

    Hi,

    try

    1. Ctrl+Break
    2. and then in the VBA editor menu item Run - Reset
    0 comments No comments
  3. Anonymous
    2020-12-09T15:26:48+00:00

    thanks

    0 comments No comments
  4. Anonymous
    2020-12-09T15:27:08+00:00

    thanks

    1 person found this answer helpful.
    0 comments No comments