Solved

Edit a macro in Access 2010

Posted on 2012-03-21
4
731 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Quick response with perfect answer!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

771 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

11 Experts available now in Live!

Get 1:1 Help Now