By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,475 Members | 1,915 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,475 IT Pros & Developers. It's quick & easy.

Run Macro in another database using code

P: n/a
Hi,

How can I run a macro stored in another database using code??

I figure it would be something like:

Dim db as Database

Set db = ?????

DoCmd.RunMacro ("Macro1")

Thanks for any help!!

Dean

Feb 7 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 6 Feb 2007 16:44:04 -0800, de*********@lion-nathan.com.au wrote:

check out the /X command line switch for msaccess.exe
-Tom.

>Hi,

How can I run a macro stored in another database using code??

I figure it would be something like:

Dim db as Database

Set db = ?????

DoCmd.RunMacro ("Macro1")

Thanks for any help!!

Dean
Feb 7 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.