dsn

  1. K

    ODBC --Connection Server 'ServerName' failed

    Hi, I have created a User DSN and successfully created a linked table in Microsoft Access with that DSN, however through excel vba when I tried to fetch data from that linked table an error message is displaying "ODBC --connection 'SERVERNAME' failed. However I am successfully able to fetch...
  2. T

    Excel / Visual Basic Userform & Reading from registry on Windows 10

    Hello, I have several Excel workbooks that use a code that pulls DSN names from the registry into a userform and supplies DSN, username & password to access an ODBC connection. I just got a new laptop with Windows 10 and it's not working. I first got a "Runtime 13 Mismatch" error but I was able...
  3. M

    Reusing an ODBC connecting in Office 365 ProPlus

    I used to use office 2016 and I could go to existing connections, select a file dsn and connect via ODBC to JDE iseries to run a query. Now on ProPlus, the file dsn no longer work, so I set up all the connections again and they are stored in "PowerBI style" with "Global Permissions" but I...
  4. M

    Excel remembers an old DSN name

    Hi all.. I have an issue as follows:- I created an Excel file which uses 3 ODBC queries to pull data from Sage Accounts. I (perhaps unwisely) set up a new DSN called 'WELTON',to use for this purpose and pointed it at the data folders. However, I am now using the same report for a different...
  5. S

    ODBC connection if not on users PC

    Okay, so I've been looking into how to set up an ODBC connection via VBA if a user doesn't have it. I have a parameter based query (in MS Access) tied to an Excel command button that needs an ODBC DSN connection however the users who will be running the Excel file do not have the ODBC connection...
  6. C

    Odd behavior with PivotTable showing zero instead of the value

    Greetings. For a couple years I have been an avid visitor, but I just this moment registered, as the issue is still completely unresolved. Thus, my first post. (The only forum I trust about MS Excel on the Internet is this one. Mr Excel, you are wise and well-respected in my workbook. :) My...
  7. Juglaz

    Connection String Relative Reference Requiring DSN

    Hi guys, I've got a workbook that pulls data from an access database. MS Query created the following connection string which works just fine: DBQ=C:\Users\t5264ab\Desktop\Dashboard\Claim Analyzer Total 13MY YTD.mdb;DefaultDir=C:\Users\t5264ab\Desktop\misc docs;Driver={Microsoft Access Driver...
  8. J

    DSN or VB script?

    -I have an open worksheet (2007), which is calculating totals pulled off the internet. -I then need to be able to access those totals from my LAN machines running 2003. Should I use user/file/system DSN or VB script? Anyone already done this?
  9. J

    Asks for DSN

    Hi, Can anyone tell me why ActiveSheet.PivotTableWizard asks for a DSN connection? ConnectString = "ODBC; Driver={Microsoft Text Driver (*.txt; *.csv)}; Dbq=" & gs_path & "; Extensions=asc,csv,tab,txt; UID=admin;" QArray = Array(ConnectString, "Select * From " & lv_src)...

Watch MrExcel Video

This Week's Hot Topics

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top