Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Dialog box for Access 2000

Status
Not open for further replies.

03Explorer

Technical User
Sep 13, 2005
304
US
I tried to follow the thread thread 705-755820 but the last code given does not work for me. What is the reference library? I am trying to have a screen allow the user the ability to 'browse' for a file. The located file with path populates a text field (giving the user one chance to change it before starting a process). The process from there is to import an ascii file using a spec (which is another question on how to import via Coding using a defined spec).

Thanks
 
The Microsoft Office Object Library

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
I just added the reference to 'Microsoft Office 11.0 Object Library' and I still can not compile on the line with ... Application.FileDialog

FileDialog is not an option. Error = "Method or data member not found"
 
Microsoft Office 11.0 Object Library
So, you should have access 2003 ?
Works for me with this version.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Try this line

Code:
Application.FileDialog(msoFileDialogOpen).Show
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top