Stop macro when Access error occurs

  • Thread starter Thread starter John Hipskind
  • Start date Start date
J

John Hipskind

How do I stop a macro when an Access error occurs as the
macro is executing?
Thanks.
John
 
John,

Only one possibility here, I'm afraid. Figure out what's causing the
error, and change the macro or the database so it doesn't happen
again.

Other than that, using a VBA procedure instead of a macro may give
more flexibility in managing the error.

- Steve Schapel, Microsoft Access MVP
 
Back
Top