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!

Call Access Routine From Excel..

Status
Not open for further replies.

longmot

Programmer
Apr 22, 2002
11
GB
Anyone know how to call an Access routine from Excel.

I can run queries and open recordsets etc. but not call routines.

 
One approach may be to use SHELL() to execute a macro which then runs the Function. You cannot execute a function directly this way.

Call Shell(&quot;MSaccess.Exe <path-filename of .mdb> /x MacroName&quot;)

Ken

 
If you are well versed in the use of VBA, you can directly open the Ms. A. ffrom within Xl, and simply 'call' the functions. You may need to prefix the function names with the object name for the db.

MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top