Public Function Access_Path() As String
Access_Path = Path(Access.References(2).FullPath) & "MSAccess.exe"
End Function
Private Function Path(ByVal strFilePath As String) As String
Dim intLastSlash As Integer
Dim pntr As Integer: pntr = 1
intLastSlash = InStrRev(strFilePath, "\")
Path = Left(strFilePath, Len(strFilePath) - (Len(strFilePath) - intLastSlash))
End Function