Results 1 to 5 of 5
  1. #1
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313

    Access 2010 How to Add a Query to an Existing Macro

    I have a large macro that I created in 2007 Access Database. When I converted to Access 2010, I can't find how to add a new query to the middle of the Macro. Any help would be appreciated.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    So easy in VBA. I don't use macros. I think I did something like this once trying to help another poster. Didn't find it easy at all. Seem to remember having to delete the queries and rebuild the macro to get the queries in particular order.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    Okay, here's how... add it into the box at the bottom of the macro, then use the up/down arrows to position it in the desired sequence.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Thanks, you make it sound sooooo easy. Are you describing Access 2007 or 2010?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    Access 2010... in 2007, you can just right click on a row and pick "Insert Row". In 2010, this method is gone. You have to add it to the bottom, then move it up.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 06-14-2013, 05:43 PM
  2. Data Macro in Access 2010
    By rkalapura in forum Forms
    Replies: 4
    Last Post: 12-08-2012, 08:09 PM
  3. Data Macro in Access 2010
    By rkalapura in forum Programming
    Replies: 1
    Last Post: 07-06-2012, 08:38 AM
  4. Access 2010 Macro Help
    By RayMilhon in forum Access
    Replies: 3
    Last Post: 09-30-2011, 12:03 PM
  5. Access 2010 Macro
    By RayMilhon in forum Access
    Replies: 3
    Last Post: 09-28-2011, 11:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums