Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Access VBA: loop through all the files in a folder

Hi

What VBA code would I  use to loop through all the files in a folder and show their name
in a MsgBox
Avatar of Michael Vasilevsky
Michael Vasilevsky
Flag of United States of America image

There's a function called ListFiles() included with modFileOpenSaveDialog you can get here:

http://www.mvps.org/access/api/api0001.htm
ASKER CERTIFIED SOLUTION
Avatar of Michael Vasilevsky
Michael Vasilevsky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Thanks