View Single Post
  #2  
Old April 20th, 2010, 07:22 PM posted to microsoft.public.access.gettingstarted
John W. Vinson
external usenet poster
 
Posts: 18,261
Default fill list box with file names

On Tue, 20 Apr 2010 09:04:46 -0700 (PDT), mcnews
wrote:

how to fill list box with file names sorted by date - newest first.
tia,
mcnewsxp


Look at the VBA help for the Dir() function, and use a loop to fill a Table.
Use that table (or a query based on the table) as the Row Source for the
listbox.
--

John W. Vinson [MVP]