Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default 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!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting data to Excel pivot table from Access Pat Dools Excel Discussion (Misc queries) 3 October 22nd 08 06:49 PM
Exporting selected data from Access to Excel Linda Excel Discussion (Misc queries) 1 November 6th 07 05:04 PM
exporting data from access to excel [email protected] Excel Discussion (Misc queries) 1 April 11th 06 10:17 AM
Exporting data from access to excel vinayak Excel Worksheet Functions 0 April 11th 06 08:20 AM
Exporting data in Excel permanently to Access WDR Links and Linking in Excel 1 January 12th 06 03:56 AM


All times are GMT +1. The time now is 04:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"