+ Reply to Thread
Results 1 to 4 of 4

DSN Creation doesn't work in win7/Excel2010

  1. #1
    Registered User
    Join Date
    10-28-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    DSN Creation doesn't work in win7/Excel2010

    I've inherited a tool that uses the Microsoft KB method of programatically creating a DSN. It runs just fine in WinXP/Excel2003 but we're making the transition to Win7/Excel2010 and DSN creation has ceased to function.

    Please Login or Register  to view this content.
    I've Googled quite a bit but I haven't come up with a solid solution that works yet. Any suggestions would be much appreciated!

  2. #2
    Registered User
    Join Date
    10-28-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: DSN Creation doesn't work in win7/Excel2010

    I'm surprised I haven't gotten a response on this one yet. Perhaps it's time to shift everything to DSN-less connections?

  3. #3
    Registered User
    Join Date
    10-28-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: DSN Creation doesn't work in win7/Excel2010

    No one has any idea?

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: DSN Creation doesn't work in win7/Excel2010

    Your code works fine in my 32-bit Win7/Excel2007 environment. I don't have Excel 2010. Are you running in a 64-bit environment? If so, the DSN's for 32-bit drivers are viewable in c:\windows\syswow64\odbcad32.exe. (Opening simply c:\windows\system32\odbcad32.exe, or running odbcad32 from the command/run line won't show you any 32-bit drivers.)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Macro work in personal workbook, doesn't work in other workbooks
    By Centexcel in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-30-2013, 11:47 AM
  2. [SOLVED] Macro Doesn't Work Through Button, Does Work Through Developer ->Macros Option
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-27-2013, 11:55 AM
  3. [SOLVED] Recorded macro doesn't work 5 seconds after creation...
    By Bjordion in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-22-2013, 04:51 PM
  4. Replies: 13
    Last Post: 01-15-2006, 01:15 PM
  5. [SOLVED] More work schedule creation trouble
    By Paul in forum Excel General
    Replies: 4
    Last Post: 12-11-2005, 01:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1