Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Connecting to a DB in VBA

I'm trying to connect to an ODBC-compatible database thru VBA, but I can't
seem to get it to work. I've looked at the help files, and some of the
things it tells me to do, aren't recognized when I try to run them.
Example:
Dim wrkODBC as WorkSpace
It doesn't recognize the "user-defined type". I'm wondering if I'm missing
some AddIn or something. I've installed everything that came with the disk,
as well as made sure that they were selected in the options portion of
Excel, but nothing is dealing with ODBC connections.
Can somebody please tell me what I'm doing wrong and how to fix this?
Thanks!!!

XP Home
Excel 2002
ASA 8 DB (thru ODBC connection)


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Connecting to a DB in VBA

See reply to my Q on "ACT!" 14/1/04, may help.
AB

"Tom S" wrote in message
...
I'm trying to connect to an ODBC-compatible database thru VBA, but I can't
seem to get it to work. I've looked at the help files, and some of the
things it tells me to do, aren't recognized when I try to run them.
Example:
Dim wrkODBC as WorkSpace
It doesn't recognize the "user-defined type". I'm wondering if I'm

missing
some AddIn or something. I've installed everything that came with the

disk,
as well as made sure that they were selected in the options portion of
Excel, but nothing is dealing with ODBC connections.
Can somebody please tell me what I'm doing wrong and how to fix this?
Thanks!!!

XP Home
Excel 2002
ASA 8 DB (thru ODBC connection)




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
Connecting formulas Crosscatch Excel Worksheet Functions 2 December 2nd 07 09:04 PM
connecting to MYSQL irene c New Users to Excel 1 January 30th 07 09:43 AM
Connecting ballons Lugar Excel Discussion (Misc queries) 0 November 17th 06 04:22 PM
Connecting Worksheets [email protected] Excel Discussion (Misc queries) 3 May 2nd 06 09:01 PM
connecting to databases dstiefe Excel Discussion (Misc queries) 1 September 4th 05 03:40 AM


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