ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Exporting data directly from Excel to an un-opened Access database using VBA (https://www.excelbanter.com/excel-programming/283242-exporting-data-directly-excel-un-opened-access-database-using-vba.html)

Chris Dunigan

Exporting data directly from Excel to an un-opened Access database using VBA
 
Hi everyone,

Would be really grateful if someone could tell me how to export the
entire contents of a worksheet into an existing (unopened) access
database.
The format of the data in the spreadsheet is identical to the dBase
set-up.

At the moment i am exporting as delimited text files and then using a
macro within access.

many thanks in advance,
chris

Tom Ogilvy

Exporting data directly from Excel to an un-opened Access database using VBA
 
See Mr. Erlandsen's site for sample code:


http://www.erlandsendata.no/english/vba/adodao/

--
Regards,
Tom Ogilvy

"Chris Dunigan" wrote in message
om...
Hi everyone,

Would be really grateful if someone could tell me how to export the
entire contents of a worksheet into an existing (unopened) access
database.
The format of the data in the spreadsheet is identical to the dBase
set-up.

At the moment i am exporting as delimited text files and then using a
macro within access.

many thanks in advance,
chris




Chris Dunigan

Exporting data directly from Excel to an un-opened Access database using VBA
 
Thanks Tom,

That works brilliantly!!



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


All times are GMT +1. The time now is 09:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com