Fill a List box with file names & date information

  • Thread starter Thread starter Norma
  • Start date Start date
N

Norma

I am trying to fill a list box with a list of
filenames and the date/time field from a specific
directory. Any ideas you can give me will be appreciated
or if there are any articles in the knowledge base that
address this, I would appreciate the Article and ID number.

Thanks
Norma
 
Norma said:
I am trying to fill a list box with a list of
filenames and the date/time field from a specific
directory. Any ideas you can give me will be appreciated
or if there are any articles in the knowledge base that
address this, I would appreciate the Article and ID number.

The Dir() function, called in a loop, will give you all the file names.
The FileDateTime function will give you the date/time for each file.
 
Back
Top