Thread
:
automatically import multiple named-ranges from Excel to Access
View Single Post
#
2
Posted to microsoft.public.excel.misc
smartin
external usenet poster
Posts: 915
automatically import multiple named-ranges from Excel to Access
wrote:
Greetings,
I have named-ranges in multiple Excel 2003 workbooks located in a
single directory. The named range that I want to access in each
workgroup is identical. For example, cells $A$4:$R199 are named
'HOUR12' in each workbook on identically named worksheets, '12H'. I
would like to import all of the named ranges, 'HOUR12', into an
existing Access 2003 table. BTW, the headers are identical.
Can anyone tell me how to accomplish this automatically?
Thanks kindly.
Hi Joseph,
This is an Access task, not an Excel task, so you might get better
answers in an Access group.
The general idea I think would be to write a VBA procedure that loops
through the subject XLS files and uses something like the
DoCmd.TransferDatabase method to link into the files and append the
range data to your table.
Good luck!
Reply With Quote
smartin
View Public Profile
Find all posts by smartin