Hi....Is there a way to automatically launch a Microsoft Access 97
Macro using vb script. Any help would be greatly appreciated.

Thanks!!!

Re: Launch a Microsoft Access Macro by Dave

Dave
Mon Apr 04 17:01:36 CDT 2005

Something like this may work.

Dim appAccess, strConPathToDB
strConPathToDB = "D:\data\Access\db1.mdb"
Set appAccess = CreateObject("Access.Application.8")
appAccess.OpenCurrentDatabase strConPathToDB
appAccess.DoCmd.OpenModule "Module1", "SomeProc"
appAccess.Quit

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

<jojo1098@hotmail.com> wrote:
| Hi....Is there a way to automatically launch a Microsoft Access 97
| Macro using vb script. Any help would be greatly appreciated.
|
| Thanks!!!
|