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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File name on form read by module 1

Status
Not open for further replies.

omooreirl

Technical User
Oct 28, 2008
11
DE
Hi all

I have a module written to import a text file into my access database. The name of the text file will change about every 3 days or so and is not predictable. I need the user to enter the name of the new file on my form such that my module can then read the name and open it.

Can anyone point me in the direction of the best way to do this? I don't need to store the name of the file.

Thanks
OM
 
You may simply use the InputBox function in your VBA code.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top