Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Supplied provider is different from the one already in use

I get this cryptic message when attempting to open an ADO connection
using VBA with Excel 2010, SS2008R2, and Win7 Enterprise 64bit.
Didn't happen with Excel 2003, SS2005, WinXPPro.

Any thoughts on why this happens and how to fix it?

Thanks!
Kevin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Supplied provider is different from the one already in use

kevinlcarlson was thinking very hard :
I get this cryptic message when attempting to open an ADO connection
using VBA with Excel 2010, SS2008R2, and Win7 Enterprise 64bit.
Didn't happen with Excel 2003, SS2005, WinXPPro.

Any thoughts on why this happens and how to fix it?

Thanks!
Kevin


Have you updated your code to use the ACE provider that Excel 2007/2010
uses? Your 2003 code would have used the JET provider, and so needs to
be revised to be version aware if you want it to work in both
environments.

If Application.Version = 12 Then
'use ACE provider connection string
Else
'use JET provider connection string
End If
</aircode

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


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
Are there any free macros for statistics supplied with excel? alan New Users to Excel 1 April 18th 07 06:35 PM
exact value from supplied Row and Column data [email protected] Excel Worksheet Functions 1 November 16th 06 07:57 PM
What Is The Right Provider? Jim Heavey Excel Programming 5 February 6th 06 06:20 PM
How do I make a file read only unless a password is supplied? Tim Excel Discussion (Misc queries) 2 January 12th 05 10:48 PM
VBA retrieving row and column info from user supplied range(s) fracture Excel Programming 4 July 23rd 04 04:05 PM


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