![]() |
Populate Listbox on Userform with file names
How do I populate a listbox with filenames.
I would like (for example) to have a userform with the listbox on it, and an "Add" button that opens a Windows Explorer file box, that allows me to choose a file. When the file is chosen, it is added to the list box. As an extra, when a file has been added to the box, double clicking on the filename would open the file. Thanks in advance, Rob OM Lepper |
Populate Listbox on Userform with file names
With what part are you having a problem?
-- Jim Cone Portland, Oregon USA http://tinyurl.com/ListFiles "OM" wrote in message ... How do I populate a listbox with filenames. I would like (for example) to have a userform with the listbox on it, and an "Add" button that opens a Windows Explorer file box, that allows me to choose a file. When the file is chosen, it is added to the list box. As an extra, when a file has been added to the box, double clicking on the filename would open the file. Thanks in advance, Rob OM Lepper |
All times are GMT +1. The time now is 12:37 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com