Grabbing Filenames - How to?

MsfStl

Registered User.
Local time
Today, 14:32
Joined
Aug 31, 2004
Messages
74
Hi, I am trying to populate a field "FN" within a table called "tblFN" with a list of .pdf filenames in the folder "C:\My Documents\Taiwan Cases\" The Access Db name is "TestPopulateCode.mdb" Can anyone assist me in the VBA code to programatically populate that field with the .pdf files from that folder? Any help you can give me is appreciated. I have searched the forums for a solution and did not find anything suitable for my needs. Thanks for your time! :) :)
 
You can use the Dir function or the file system object.
 

Users who are viewing this thread

Back
Top Bottom