List Files in a Folder

To return a list of files in a folder (MsgBox is used here as a demo, but you'll no doubt want to process the list your own way) ...

Here's an example showing how to reference this macro ...