slreynolds,
So my notpad file would be this?:
Dim objAccess
Dim strPathToMDB
Dim strTableName
Dim strFilePath
Dim strMsg
' EDIT with your path and database name
strPathToMDB = "c:\Reports.mdb
' Create Access 2002 Application Object
Set objAccess = CreateObject("Access.Application.10"
' Open the desired database
objAccess.OpenCurrentDatabase(c:\Reports.mdb)
' EDIT with your Macro Name
objAccess.DoCmd.RunMacro "macReportNo"
strMsg = "The macro named" & vbcrlf & " UpdateVendData" & vbcrlf & " execued successfully."
MsgBox strMsg,vbInformation,"Finished"
' Clean up
objAccess.CloseCurrentDatabase
ObjAccess.Quit
Set objAccess = Nothing