Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default using xlodbc.xla with Excel 2003

I can't resolve the error "Attempt to register odbc32.dll failed" when using
the xlodbc.xla reference in an Excel vba macro so I can use the function
sqlOpen.

It used to work but since upgrading to XP, the excel spreadsheet now keeps
coming with the above error. The odbc32.dll file is on the
C:\windows\system32 folder, I have saved and referenced the xlobdc.xla file
from Excel 2002 - but how to get it to register to the correct odbc32.dll now
that I have XP running?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default using xlodbc.xla with Excel 2003

Hi Nicole,

It used to work but since upgrading to XP, the excel spreadsheet now keeps
coming with the above error. The odbc32.dll file is on the
C:\windows\system32 folder, I have saved and referenced the xlobdc.xla file
from Excel 2002 - but how to get it to register to the correct odbc32.dll now
that I have XP running?


Why do you need that xla? It is quite easy to connect to a database using ADO
from VBA.

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com
Member of:
Professional Office Developer Association
www.proofficedev.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default using xlodbc.xla with Excel 2003

Someone else wrote the macros - and I thought it would be easier to simply
re-map the reference add-in, than having to re-write their macros. But
instead - i can go and learn how ADO works instead, if Excel 2003 with XP is
no longer compatible with xlodbc.xla. Thanks

"Jan Karel Pieterse" wrote:

Hi Nicole,

It used to work but since upgrading to XP, the excel spreadsheet now keeps
coming with the above error. The odbc32.dll file is on the
C:\windows\system32 folder, I have saved and referenced the xlobdc.xla file
from Excel 2002 - but how to get it to register to the correct odbc32.dll now
that I have XP running?


Why do you need that xla? It is quite easy to connect to a database using ADO
from VBA.

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com
Member of:
Professional Office Developer Association
www.proofficedev.com


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default using xlodbc.xla with Excel 2003

Hi Nicole,

Someone else wrote the macros - and I thought it would be easier to simply
re-map the reference add-in, than having to re-write their macros.


Makes sense. You could start off by trying to run Office Setup again and
figure out whether the odbc addin has been setup. If thtat fails, there's
always ADO.

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com
Member of:
Professional Office Developer Association
www.proofficedev.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
What substitutes XLODBC.xla add-in in Excel 2003 Ladislav Excel Discussion (Misc queries) 0 April 7th 06 03:11 PM
excel 2003 xlodbc.xla Veli Izzet Excel Programming 1 July 28th 05 01:04 AM
Links using XLODBC.XLA not working after upgrade to 2003 Bryan Linton Excel Programming 2 December 14th 04 09:41 PM
Links using XLODBC.XLA not working after upgrade to 2003 Bryan Linton Excel Programming 2 December 8th 04 11:18 PM
Need xlodbc.xla in Excel 2003 troubled Excel Programming 1 September 24th 04 07:44 AM


All times are GMT +1. The time now is 05:28 AM.

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

About Us

"It's about Microsoft Excel"