Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default VBA - ODBC database access help?

Hello,

I am hoping someone here may be able to point me to some code or
documentation regarding accessing data from external ODBC databases
using VBA from within excel.

Basically, what I am trying to do is monitor when a value in the first
column changes, I would like to validate this value and populate several
other values in this row based on a query to this external database.

Any help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 253
Default VBA - ODBC database access help?

Hi Carl,

in the VBA window, make a reference to Microft ActiveX Data Object library
2.x. (ADO)
Then search via the object browser after "connection" or "recordset"
objects to get help.
This should give you a start.
Regards
Jean-Yves

"Carl" wrote in message
...
Hello,

I am hoping someone here may be able to point me to some code or
documentation regarding accessing data from external ODBC databases
using VBA from within excel.

Basically, what I am trying to do is monitor when a value in the first
column changes, I would like to validate this value and populate several
other values in this row based on a query to this external database.

Any help would be appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default VBA - ODBC database access help?

Jean-Yves wrote:
Hi Carl,

in the VBA window, make a reference to Microft ActiveX Data Object library
2.x. (ADO)
Then search via the object browser after "connection" or "recordset"
objects to get help.
This should give you a start.
Regards
Jean-Yves

"Carl" wrote in message
...

Hello,

I am hoping someone here may be able to point me to some code or
documentation regarding accessing data from external ODBC databases
using VBA from within excel.

Basically, what I am trying to do is monitor when a value in the first
column changes, I would like to validate this value and populate several
other values in this row based on a query to this external database.

Any help would be appreciated.




Thanks,

That is exactly what I was looking for.

Carl.
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 connection to ODBC database Poppe Excel Discussion (Misc queries) 8 April 24th 09 06:16 AM
ODBC database query gneissgirl Excel Discussion (Misc queries) 0 November 10th 05 06:18 PM
ODBC Drivers to a SQL database David J. Monnin Excel Discussion (Misc queries) 0 September 14th 05 07:39 PM
how can I create a ODBC database in excel Deler9 Excel Worksheet Functions 1 July 31st 05 08:28 PM
ODBC database access ooo[_2_] Excel Programming 0 February 26th 05 08:12 AM


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