I am trying to create a button that will run a macro to retrieve a list of files in a directory. Essentially, I want the user to specify the directory path in an input box and then be shown as list of all the files in that directory.
Check the macro code in this thread. This will run the directory looking for certain types of files given the extensions. You can use a variable with an inputbox to specify the path to follow, and store all the results in a variable or a field, then use this field in a litsbox.