Aug 2, 2004 #1 mygmat123 Technical User Jun 28, 2004 56 US How can I run a macro from VB that is in another database file that I have. example: I have two databases. DBfile1 and dbfile2 I would like to open dbfile1 run code that executes a macro in dbfile2. Is this possible? Thank you
How can I run a macro from VB that is in another database file that I have. example: I have two databases. DBfile1 and dbfile2 I would like to open dbfile1 run code that executes a macro in dbfile2. Is this possible? Thank you
Aug 2, 2004 #2 BattleDroid42 Programmer May 17, 2002 100 US You can't run a macro from a second database but you can run code from the second database by setting a referrence to it in the first. Upvote 0 Downvote
You can't run a macro from a second database but you can run code from the second database by setting a referrence to it in the first.
Aug 2, 2004 Thread starter #3 mygmat123 Technical User Jun 28, 2004 56 US thanks, I found a way to using SHELL() Thanks Upvote 0 Downvote