Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Appending to Access table

I would like to appended my excel data to a access database table. I
can manualy do this but I need to programmatly do it. I also must
avoid the message "you are about to append ??? records".
Thanks for your help.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 219
Default Appending to Access table

In Access...
1) Create a link to the workbook/worksheet you want to append data from
2) Create an append query.
3) Create a macro such as...
'stop warning messages
DoCmd.SetWarnings False
'append query called "Query1"
DoCmd.OpenQuery "Query1", acViewNormal, acEdit
'turn warning messages back on
DoCmd.SetWarnings True


HTH,
--
Gary Brown

If this post was helpful, please click the ''''Yes'''' button next to
''''Was this Post Helpfull to you?".


"Pete" wrote:

I would like to appended my excel data to a access database table. I
can manualy do this but I need to programmatly do it. I also must
avoid the message "you are about to append ??? records".
Thanks for your help.


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
Excel appending to Access - no duplicates zeyneddine Excel Discussion (Misc queries) 3 December 4th 06 03:08 PM
Appending to Access table Pete[_24_] Excel Programming 0 November 2nd 05 02:03 PM
Linking a table in Access to a table in Excel using MS Query Diana[_5_] Excel Programming 1 January 16th 04 09:43 PM
Appending records from one table to another Mary Tate Excel Programming 1 December 10th 03 12:43 PM
Appending Excel file to an Access table Diana[_5_] Excel Programming 1 September 10th 03 08:21 AM


All times are GMT +1. The time now is 12:19 AM.

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"