Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Can Not Get The Sqlopen Function To Work In Excel

  • Please log in to reply
1 reply to this topic

#1 dpawlaczyk


  • Members
  • 8 posts
  • Gender:Male
  • Location:Oxford, Michigan
  • Local time:05:48 PM

Posted 24 May 2007 - 09:45 AM

I running Windows XP Professional with Excel 2003. I am trying to use the SQLOpen function in Excel but I am unable to get this function to work. I keep getting a 'function not defined' error. I am using the Microsoft Activex Data Objects 2.5 library. Do I need to use another reference?

BC AdBot (Login to Remove)


#2 tos226



  • Members
  • 1,578 posts
  • Gender:Female
  • Location:LocalHost
  • Local time:05:48 PM

Posted 24 May 2007 - 08:40 PM

Check ODBC addin on the tools menu where obscure functions are. I'm not in front of computer where I used it, and it was long time ago, but it rings the bell :thumbsup: IF I remember more I'll post back. I do remember having to do some work in VBA so that the ODBC parameters go to the registry one so users don't have to reenter over and over.

Edited: The Addin is xlodbc.xla
SQL functions are described in Microsoft knowledgebase, google for KB120870 and KB214289

Edited by tos226, 24 May 2007 - 09:28 PM.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users