G
Guest
Using Access 2000, I'm trying to import a worksheet from Excel into a table
in Access. Manually, I have no problem and the data imports just fine. I
also found a way to import a particular worksheet from a particular file
using the "Transfer Worksheet" function and it's "filename" and "range", but
the path name is static (same file name each time the function is called).
How would I import a specific worksheet in multiple Excel files (ie, the
second worksheet in each of 10 separate Excel files) into an Access table by
choosing the file via the "Open File Dialog"? I'd like to be able to control
the event via the switchboard I have set up...I push the button to import a
worksheet, an Open File browser appears, I select the file I want, and the
table is appended with the worksheet data...
Any ideas?
in Access. Manually, I have no problem and the data imports just fine. I
also found a way to import a particular worksheet from a particular file
using the "Transfer Worksheet" function and it's "filename" and "range", but
the path name is static (same file name each time the function is called).
How would I import a specific worksheet in multiple Excel files (ie, the
second worksheet in each of 10 separate Excel files) into an Access table by
choosing the file via the "Open File Dialog"? I'd like to be able to control
the event via the switchboard I have set up...I push the button to import a
worksheet, an Open File browser appears, I select the file I want, and the
table is appended with the worksheet data...
Any ideas?