I have an import routine in Access which takes input from a file called data.xls and populates a number of tables. The import works fine.
The imported file was always called data.xls, but I have a whole history of old xls files in the same format which I wish to import using the same routine.
I could rename each xls file to data.xls and rerun the import, but I’d like to be able to select the files from a list and run the import for the name of the file selected.
How do I produce a list of the .xls file names held in a specified directory which I can select from as input to the routine? Preferably I’d like to present a combo box from which the data can be selected.
John