Solved

Edit a macro in Access 2010

Posted on 2012-03-21
4
739 Views
Last Modified: 2012-03-22
I have a form that has a few buttons on it and one button says it is running a macro. I am new to Access 2010. I cannot find the macro. I need to see what it is doing.
0
Comment
Question by:bmorriso99
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:kmslogic
ID: 37750260
Go into design mode on the form, then right click on the button and select properties.  On the properties form that appears click on the Events tab and then click the "..." button next to the on-click event.  That should bring up the macro code the button uses when it is clicked.
0
 

Author Comment

by:bmorriso99
ID: 37752266
Thank-you - that is much further than I was able to get on my own!

I got a window under 'macro tools'  that has
RunMacro
           Macro Name: My_AutoExec
           Repeat Count
         Repeat Expression
    +   Add New Action


I don't see any code though.... what am I doing wrong?
0
 
LVL 16

Accepted Solution

by:
kmslogic earned 500 total points
ID: 37752489
Ok you can close that window.  You're looking for the saved macro named My_Autoexec, so on the left side of the screen there should be a navigation bar (if there isn't,, press F11)

click on the bar and select "Macros"
you should see the My_AutoExec macro

Right click on it and select design mode
That will show you the macro code.
0
 

Author Closing Comment

by:bmorriso99
ID: 37752653
Quick response with perfect answer!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
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, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now