![]() |
File Browse Box
I have a userform on my sheet. What i want is a command
buttom to bring up box which will enable me to browse files on my hd and then select one to perform an action on. Does anyone know how to do this? Also can you have the default value pointing to a specific folder? |
File Browse Box
See the Application.GetOpenFileName method. This will display a
standard File Open dialog box and return the complete path of the chosen file. It does not actually open the file. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "JONNIE" wrote in message ... I have a userform on my sheet. What i want is a command buttom to bring up box which will enable me to browse files on my hd and then select one to perform an action on. Does anyone know how to do this? Also can you have the default value pointing to a specific folder? |
File Browse Box
Chdrive "C" Chdir "C:\Myfolder" fName = Application.GetOpenFileName() -- Regards, Tom Ogilvy "JONNIE" wrote in message ... I have a userform on my sheet. What i want is a command buttom to bring up box which will enable me to browse files on my hd and then select one to perform an action on. Does anyone know how to do this? Also can you have the default value pointing to a specific folder? |
All times are GMT +1. The time now is 05:38 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com