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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top