There are many solutions available to allow you to open the 'File Open'
common dialogue. I use one distributed freely by Bill Wilson which you
simply copy into your Access database as a class module. You can find it at:
http://community.compuserve.com/n/p...yMessages&tsn=1&tid=22415&webtag=ws-msdevapps
A Google search for something like 'Browse for File' will probably throw up
a lot more. Its important to realise that these don't actually open the
file; they return a path to it. With Bill's class module code to open the
dialogue with Word .doc documents as the default file type and
C:\Customers\Correspondence as the opening folder would be like this:
Dim OpenDlg As New BrowseForFileClass
Dim strPath As String
Dim strAdditionalTypes As String, strFileList As String
OpenDlg.DialogTitle = "Select File"
OpenDlg.DefaultType = ".doc"
OpenDlg.InitialDir = "C:\Customers\Correspondence"
strPath = OpenDlg.GetFileSpec
Set OpenDlg = Nothing
You'd then do something with the strPath variable which would contain the
path to the selected file.