R
rirus via AccessMonster.com
I want to import several Worksheets from a dynamic Excel Workbook into a
single Access Table. I currently have the importing VBA code working and can
import the Worksheets in one at a time. What I would like to do, if possible
is automate this by getting the Worksheet Names from the Workbook first then
import each Worksheet one at a time into the Access table.
Also, each Worksheet represents a months worth of data. Each month a new
Worksheet is created and data is entered. Each month a new Worksheet is
created and the lasts month's data is not touched again. Any data that is not
completed is rolled into the new month's spreadsheet.
I know.. I know. It is not my process, I don't own it so I can't change it. I
am just pulling data each month and combining it with other tables I have
imported to achieve an end result, legable reports on the months work.
All I am needing is VBA code that gets an Excel Workbooks Worksheet's names.
thanks,
Rirus
single Access Table. I currently have the importing VBA code working and can
import the Worksheets in one at a time. What I would like to do, if possible
is automate this by getting the Worksheet Names from the Workbook first then
import each Worksheet one at a time into the Access table.
Also, each Worksheet represents a months worth of data. Each month a new
Worksheet is created and data is entered. Each month a new Worksheet is
created and the lasts month's data is not touched again. Any data that is not
completed is rolled into the new month's spreadsheet.
I know.. I know. It is not my process, I don't own it so I can't change it. I
am just pulling data each month and combining it with other tables I have
imported to achieve an end result, legable reports on the months work.
All I am needing is VBA code that gets an Excel Workbooks Worksheet's names.
thanks,
Rirus