This blog will walk you through the steps to make an ODBC connection from MS Excel to Salesforce, followed by importing the data from Salesforce to MS Excel.
With the DataDirect suite of ODBC drivers, you can connect to a wide variety of high-value data sources in the market today. Whether you are using a traditional Relational Database Management System or Big Data, Cloud, or REST-based sources, DataDirect has you covered.
Progress DataDirect ODBC drivers are the industry standard for ODBC drivers, providing the advanced functionality, performance, and reliability developers need to quickly deliver high-quality, database-independent applications.
Connecting to a Progress DataDirect ODBC driver from MS Excel is very straightforward. In this tutorial, we walk you through connecting MS Excel to Salesforce. These same steps can be used to connect MS Excel to any DataDirect ODBC driver.
This tutorial assumes that you have ODBC drivers installed and a data source configured. If you have not yet done these steps, please follow these instructions. Ensure that Microsoft Excel and ODBC Driver architecture matches. For example, if you have a 64-Bit Microsoft Excel installed then you need to have the 64-Bit version of Progress DataDirect ODBC drivers installed. Or if you have a 32-Bit Microsoft Excel installed then you need to have the 32-Bit version of Progress DataDirect ODBC drivers.
1. Download and install the Progress DataDirect Salesforce ODBC driver for your database using the 15-day trial software. In this tutorial, we are connecting to Salesforce.
2. Configure a data source for your database. See the DataDirect documentation for assistance with setting up your data source. The sample below uses a data source.
1. After the DataDirect Salesforce ODBC driver has been installed, open ODBC Administrator to configure the connection and click on Add.
2. Choose the “DataDirect X.X Salesforce” driver and click on “Finish.”
3. You should now see the ODBC Salesforce Driver Setup pop-up window launched. Add your Data Source Name, hostname, username, and other credentials, and click on “Apply” and then “Test Connect.”
4. If you are connecting to Salesforce sandbox, please specify host Name as “test.salesforce.com”. If you do not have a security token, please leave it blank.
5. Logon Dialog will pop up. Enter your username and password and click on “OK.”
6. A pop-up window will confirm that the connection is established.
When the driver installation and configuration are completed, you can import data from Salesforce using MS Excel by following the mentioned steps:
1. Open MS Excel’s new workbook and navigate to the “Data” tab. To import data, click on “Get Data” and navigate to “From Other Sources”-> “From ODBC”.
2. Select the Salesforce data source name (DSN) you want to connect to. Just in case the ODBC DSN has not been set up, you can leverage the Advanced Options dialog box. Additionally, you can enter an SQL statement which will be executed immediately after the successful connection with Salesforce.
3. A dialogue box will appear asking for a username and password. In the Database, enter your credentials and click on “Connect.”
4. A navigator will open. Choose the data you want to import and load the data into the workbook.
5. Once the data import is done, it will be available in the Workbook for you to work on.
6. Once you have the data in the workbook, you can start analyzing that with various analytical tools available as part of Microsoft excel e.g., the below image shows recommended Pivot table reports that can be built up on the populated data.
Get started today with a free 15-day trial of Progress DataDirect Salesforce ODBC driver and connect Excel to all your data! For any help, please feel free to contact us.