Solved

Edit a macro in Access 2010

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert VBA UDF to SQl SERVER UDF 4 48
Access query error 3 24
Options for Linking SQL tables to Access 2013 9 33
run FileCopy code from a string 6 12
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

763 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