PipMic
asked on
Routine to import
Hi All,
I would like to carry out a routine which imports a number of Excel Files which are held in my Folder (C:\lists) into my Access 2003 programme. All the Excel Files would be appended into the same Table (tbl_all) within my A03 programme.
Grateful if someone would provide me with the vba code to carry out this task at a touch of a button.
Please let me know if my request requires clarification.
I would like to carry out a routine which imports a number of Excel Files which are held in my Folder (C:\lists) into my Access 2003 programme. All the Excel Files would be appended into the same Table (tbl_all) within my A03 programme.
Grateful if someone would provide me with the vba code to carry out this task at a touch of a button.
Please let me know if my request requires clarification.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That should be:
sFile = Dir("Path to the folder\*.xls")
sFile = Dir("Path to the folder\*.xls")
A sample MS-Excel workbook (if they are all the same, or noting differences, if applicable), & an MS-Access database containing a blank table definition, may also help "Experts" engage with your question.