Runing Access Module Code From Excel

  • Thread starter Thread starter Charles
  • Start date Start date
C

Charles

Good Morning all
I am trying to run code that needs to be in an access mdb
from Excel, can someone tell me if this can be done I have
looked at the help files but found no answer there?.
TIA
Charles
 
Good Morning all
I am trying to run code that needs to be in an access mdb
from Excel, can someone tell me if this can be done I have
looked at the help files but found no answer there?.

I found the easiest method is through a Shell command, just the same way
you would run it from the command line, something like:
msaccess /x yourmacro

Then again, you could probably also create a Microsoft Access
application object and control the execution of your code through that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top