When I exeucte the following function, when I opened Ms Access the Security Warning pop up requiring from me to select "Open Cancel or More Information". Is there anyway that I can supress that security pop-up?
Public Function ExecuteAccessMacro()
Dim AC As Access.Application
Set AC = New Access.Application
AC.OpenCurrentDatabase ("d:\data\romanla\My Documents\acWkSpace\LRTactical DashBoard_be.mdb")
With AC
.Visible = False
.DoCmd.RunMacro "mcrUploadMilestones"
.Quit
End With
End Function
Public Function ExecuteAccessMacro()
Dim AC As Access.Application
Set AC = New Access.Application
AC.OpenCurrentDatabase ("d:\data\romanla\My Documents\acWkSpace\LRTactical DashBoard_be.mdb")
With AC
.Visible = False
.DoCmd.RunMacro "mcrUploadMilestones"
.Quit
End With
End Function