ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Capturing a file path (https://www.excelbanter.com/excel-programming/332794-capturing-file-path.html)

Daniel Bonallack

Capturing a file path
 
I have a form with a button captioned "Change file path".
I want the user to be able to click the button, see a dialog box, and then
browse to a new location, and have the file path they went to before they
exit the form saved to a variable.

Is this possible?

Thanks in advance
Daniel

Tom Ogilvy

Capturing a file path
 
See John Walkenbach's page on selecting a directory:

http://j-walk.com/ss/excel/tips/tip29.htm

--
Regards,
Tom Ogilvy


"Daniel Bonallack" wrote in
message ...
I have a form with a button captioned "Change file path".
I want the user to be able to click the button, see a dialog box, and then
browse to a new location, and have the file path they went to before they
exit the form saved to a variable.

Is this possible?

Thanks in advance
Daniel




Daniel Bonallack

Capturing a file path
 
Thanks!

"Tom Ogilvy" wrote:

See John Walkenbach's page on selecting a directory:

http://j-walk.com/ss/excel/tips/tip29.htm

--
Regards,
Tom Ogilvy


"Daniel Bonallack" wrote in
message ...
I have a form with a button captioned "Change file path".
I want the user to be able to click the button, see a dialog box, and then
browse to a new location, and have the file path they went to before they
exit the form saved to a variable.

Is this possible?

Thanks in advance
Daniel






All times are GMT +1. The time now is 11:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com