hey PHV,
I have included what you said, the code is this:
Sub AccessData()
Dim sConn As String, sSQL As String, sPath, sDB As String
sPath = Application.GetOpenFilename("Access Files (*.mdb), *.mdb")
If sPath <> False Then
sPath = Left(sPath, InStrRev(sPath, "\")...