Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Use VBA to update Access table or Query from Excel

Can I use VBA to update Access table or Query from Excel?

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default Use VBA to update Access table or Query from Excel

Hi Leungkong,

Can I use VBA to update Access table or Query from Excel?


Of course, using ADO or DAO.
See:

http://www.erlandsendata.no/english/...badacexportado

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Use VBA to update Access table or Query from Excel

Hi Jan,

Thanks. I think ADO is what I want.
But I am not only want to export from excel to access.
I want to edit some data in access table.

For example, Access has a table "ProductList"
I want to use Excel to call the product by "ProductCode" field.
After I update the "UnitPrice" via excel to access.

Can I use ADO to do it? If yes, could you please advice me some book or
link? Thank you very much.

Kind Regards,
Kong


"Jan Karel Pieterse" wrote:

Hi Leungkong,

Can I use VBA to update Access table or Query from Excel?


Of course, using ADO or DAO.
See:

http://www.erlandsendata.no/english/...badacexportado

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default Use VBA to update Access table or Query from Excel

Hi Leungkong,

For example, Access has a table "ProductList"
I want to use Excel to call the product by "ProductCode" field.
After I update the "UnitPrice" via excel to access.

Can I use ADO to do it? If yes, could you please advice me some book or
link? Thank you very much.


The information is in the same link I gave previously.

There is a microsoft press book called "Programming ADO" by Sceppa which is
quite good.

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com

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
Update table in access from excel Boss Excel Programming 5 June 15th 09 10:33 AM
Update Access Query save and close through Excel VBA BigPig Excel Programming 0 May 8th 07 04:01 PM
How access/query/update Excel using VC? Ong Hong Peow Excel Programming 1 September 21st 04 01:59 PM
update Access Table in Excel shin Excel Programming 2 January 24th 04 10:27 AM
Linking a table in Access to a table in Excel using MS Query Diana[_5_] Excel Programming 1 January 16th 04 09:43 PM


All times are GMT +1. The time now is 08:10 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"