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

Browse Button 1

Status
Not open for further replies.

UnsolvedCoding

Technical User
Jul 20, 2011
424
US
Hey all - I have been instructed to add a browse button to an application that functions muck like the open button in Excel.

This thread went over some of that but didn't really cover what I am trying to do.

I need to let the user click the button, browse to the desired folder or file and then use that path in the code. If possible I would like some sort of text box or to populate a cell with the path so that the user could see the actual location.

How do I do this?
 


hi,

Check out the GetOpenFileName Method.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Quick Question -

Is there such a thing as getfilepath that would allow me to get and copy the path to a file using a similar method to GetOpenFileName?
 


You can parse the path from any file obtained using this method.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top