How do i write data from Excel to a table in Access (2007)?
Look at the Access VBA help or get an Access VBA Book. Once you know the
syntax of the Access commands it is easy to use in Excel. You just have to
declare an access object like
obj = CreateObject("Access.Application") and in Excel in the menu Tools -=
References declare the Microssoft Access Object and depending on the methods
you use declare a reference to a Micorsoft ActiveX Data Object (ADO).
"Nigel Legg" wrote:
I have an Access 2007 database, which I want to write different sets of data
into. The datawill come from a web app in tab delimited or XML files, and
will require some reformatting in Excel prior to adding to Access, for
example the column headers in the tab delimited file become records in a
table. I therefore need to open my access database and the correct table
within it, and append the data, using VBA. How is this done? I can find
plenty of reference to taking data in the opposite direction, but nothing on
writing to Access.
--
Nigel Legg
|