A
AJOLSON
I hope I am asking this in the right forum.
I am using Access 2007 and what I want to do is use a combo box (or list
box) to show the contents of a directory on the C: Drive. And when the user
selects a file it performs another function. Maybe I don’t need a combo box
to do this but seems like that might be the route to go. Anyhow below is a
more detailed example of what I want to do.
Example - I have a folder in the C directory “C:\Dfiles†and within that
directory I have three files File1.xls …… File2.xls….. File3.xls. What I
want is for the user to click on a combo box and when the combo box loads the
user will see:
File1.xls
File2.xls
File3.xls
Then they can select whatever file then need.
Does anyone have any code that might do this for me? I have been
unsuccessful with Application.Filesearch
What ultimately will happen is when the user selects the file (clicks on it)
other code will execute and load the file into a table within the DB.
However, I have that code working
I am using Access 2007 and what I want to do is use a combo box (or list
box) to show the contents of a directory on the C: Drive. And when the user
selects a file it performs another function. Maybe I don’t need a combo box
to do this but seems like that might be the route to go. Anyhow below is a
more detailed example of what I want to do.
Example - I have a folder in the C directory “C:\Dfiles†and within that
directory I have three files File1.xls …… File2.xls….. File3.xls. What I
want is for the user to click on a combo box and when the combo box loads the
user will see:
File1.xls
File2.xls
File3.xls
Then they can select whatever file then need.
Does anyone have any code that might do this for me? I have been
unsuccessful with Application.Filesearch
What ultimately will happen is when the user selects the file (clicks on it)
other code will execute and load the file into a table within the DB.
However, I have that code working