Solved

Edit a macro in Access 2010

Posted on 2012-03-21
4
742 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need to filter query and have subform updatable 2 26
Passing variables to a function 6 34
update all email addresses SQL 1 23
Filter a form 8 13
Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

776 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