Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi Paul, In Excel Visual Basic Editor you'll have to add a reference to the Access Object Library: Tools References Microsoft Access Object Library The general format is as follows: Sub AccessMacro() Dim ac As Access.Application Set ac = New Access.Application ac.Visible = True ac.OpenAccessProject ("S:\FINOPS\Data\TransQuery.mdb") ac.DoCmd.RunMacro "DailyImports" ac.Quit Set ac = Nothing End Sub Not really my macro. Copied pretty closely from Excel & Access Integration by Michael Alexander. Hope it helps. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I run an access macro from excel? | Excel Programming | |||
Call an Access macro from an Excel macro | Excel Discussion (Misc queries) | |||
Trigger a Macro in MS Access from an Excel Macro? | Excel Programming | |||
Macro to get from excel into Access | Excel Programming | |||
Launch Macro in Access via Macro running in Excel??? | Excel Programming |