getting the names of files in a combo box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
And also, if anyone knows, how to sort them according to the creation date of
the file...

thanks
 
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
 
Back
Top