Break an Auto Exec Macro

Posted on 2006-07-20
Medium Priority
Last Modified: 2012-06-21
I just did something stupid, I wrote an Auto Exec Macro that runs a macro and then quits Access.  Now I can’t break the macro to edit the database.  I tried to Ctrl_Break but it didn’t stop it.  Lucky thing I have a back up  before I wrote this.  How do I stop the macro from running?

Any help would greatly be appreciated!!
Question by:ca1358
  • 2
LVL 66

Accepted Solution

Jim Horn earned 2000 total points
ID: 17147610
>How do I stop the macro from running?
Hold your SHIFT button down when you open your Access app.  This will bypass AutoExec macros and Startup objects.
Then you can edit-delete your AutoExec macro.

Author Comment

ID: 17147701
Thank you!
LVL 66

Expert Comment

by:Jim Horn
ID: 17147800
Thanks for the grade.  Good luck with your project.  -Jim

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Beware when using the ListIndex and the Column() properties of a listbox in Access 2007.  A bug has been identified in the Access 2007 listbox code which can cause the .ListIndex property to return a -1, and the .Columns(#) property to return a NULL…
A quick solution showing how to control and open a POS Cash Register Drawer using VBA with MS Access.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question