Solved

Break an Auto Exec Macro

Posted on 2006-07-20
3
473 Views
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!!
0
Comment
Question by:ca1358
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 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.
0
 

Author Comment

by:ca1358
ID: 17147701
Thank you!
0
 
LVL 65

Expert Comment

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

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

738 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