Dealing with “Data Source Name Not Found” within Microsoft Excel

I discovered a neat little trick to quickly find out the “Data Source Name” (DSN) of an ODBC Connection within Microsoft Excel.

In my experience, Microsoft Excel is quick to throw up an error when a data source does not exist on the local machine. However, there is never any detailed information within the error message to advise the user as to what exactly needs to be configured.

The usual error message is a rather unhelpful: “[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.”

A quick way to find out the name of the troublesome data source is to “right click” on the data area within the offending worksheet and select “Data Range Properties”. The very top item gives the name of  the connection.

External Data Range Properties 

In the example given below, the name of the data source would be “Sage Construct.”


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s