getting the names of files in a combo box

J

Jack

Hi,
I would like to populate the combobox with names of files that exists in a
directory that I will specify..

Anyone have any idea...

Thanks
 
J

Jack

And also, if anyone knows, how to sort them according to the creation date of
the file...

thanks
 
A

Alex Dybenko

You can use dir() function to get list of files in directory, then you can
combine all in one string separeted by ; and assign to rowsource of
combobox, which rowsourcetype is value list
 
Top