Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you run a macro in another database

Status
Not open for further replies.

ToyFox

Programmer
Jan 24, 2009
161
US
I have a macro that runs a number of queries. However, one query resides in another database. I would like to run this macro from the "main macro"....How would I accomplish this?

Thx
 
The easiest way would be to import that query into your database and create links to the tables that it uses. You can do it in VBA code but the only way I know is a messy one of creating another instance of Access.

Geoff Franklin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top