Sub PrintReport()
' Initialize string to database path.
strDB = _
"C:\Docs\LTD.mdb"
' Create new instance of Microsoft Access.
Set appAccess = CreateObject("Access.Application")
' Open database in Microsoft Access window.
appAccess.OpenCurrentDatabase strDB
' Open report.
appAccess.DoCmd.OpenReport "rptReport"
' Pick one of these lines:
' appAccess.Visible = True
appAccess.Quit
End Sub