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!

Using file browser as input to file location?

Status
Not open for further replies.

mssbass

IS-IT--Management
Aug 24, 2001
53
0
0
US
I am currently asking the user for the file path location using the following code:

Private Sub OpenOrders_Click()
Dim strWhere As String
strWhere = InputBox("Enter path and file name")
DoCmd.TransferSpreadsheet acImport, 8, "UPS COM Test", strWhere, True, "UPS COM Data!"
End Sub

Is there anyway to let the user use the file browser instead of having to remember the exact path?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top