How to Connect Salesforce to Excel

Updated: 17 Jul 2023

Import Salesforce Data to Excel

Salesforce is a Customer Relationship Management (CRM) solution that allows businesses to record, track, and analyze interactions with customers. Microsoft Excel, on the other hand, is a popular spreadsheet application that allows users to perform tasks such as performing calculations, creating pivot tables, organizing and visualizing data, and running macros.

You can use the Progress DataDirect for ODBC for Salesforce driver to import Salesforce data into Microsoft Excel. Importing Salesforce data into Microsoft Excel is a 3-step process:

  1. Determine your Excel version
  2. Install and configure the Progress DataDirect for Salesforce for ODBC driver
  3. Connect to Salesforce from Excel and import its data

Determine your Excel version

Determine whether your version of Excel is a 32-bit installation or a 64-bit installation:

  1. Open your workbook in Excel.
  2. On the File menu, click Account, and then click About Excel. The About Microsoft Excel window appears.

The version information is available at the top of the About Microsoft Excel window.

Install and Configure Progress DataDirect Salesforce ODBC driver

  1. Navigate to the Salesforce ODBC Driver page and select the driver you want to         download.
    • If you are using 32-bit Excel, select the Windows 32-bit driver.
    • If you are using 64-bit Excel, select the Windows 64-bit driver.
  2. When prompted, provide your details, such as name and email address; then, click DOWNLOAD. The download link is sent to you via email.

  3. Download the driver zip file and extract its contents into a temporary directory; then, double-click the installer program:

    For 32-bit drivers: PROGRESS_DATADIRECT_ODBC_8.0_WIN_32_INSTALL.exe
    For 64-bit drivers: PROGRESS_DATADIRECT_ODBC_8.0_WIN_64_INSTALL.exe

  4. Follow the prompts to complete the installation.
  5. Start the ODBC Administrator by selecting its icon from the Progress DataDirect for ODBC program group.
  6. On the ODBC Administrator, select the User DSN tab, and then configure a data source. If you want to configure:
    • An existing data source, select the data source name and click Configure. The driver Setup dialog box appears.
    • A new data source, click Add to display a list of installed drivers. Select the Salesforce driver and click Finish. The driver Setup dialog box appears.
  7. Specify values for the following connection options to authenticate using the UserID/Password authentication; then, click Test Connect.
    • Data Source Name
    • Host Name
    • User Name
    • Security Token
    • Note: To know more about the connection options and authentication methods supported by the driver, refer to the user’s guide.

  8. The Logon dialog box appears. Specify the password; then, click OK.

Connect to Salesforce from Excel and import its data


  1. Open your workbook in Excel.
  2. From the Data menu, select Get Data>From Other Sources>From ODBC.
  3. The From ODBC dialog appears. Select your data source from the Data Source Name (DSN) drop-down list; then, click OK.
  4. You are prompted for logon credentials for your data source. Select the Database tab; then, provide your username and password. Optionally, specify a connection string in the provided field. Click Connect to proceed.
  5. The Navigator window appears.
  6. From the list, select the tables you want to access. A preview of your data appears in the pane on the right. Optionally, click Edit to modify the results using the Query Editor. Refer to the Microsoft Excel product documentation for detailed information on using the Query Editor.

  7. Load your data:
    1. Click Load to import your data into your worksheet. Skip to the end.
    2. Click Load>Load To to specify a location to import your data. Proceed to the next step.
  8. The Import Data window appears. Select the desired view and insertion point for the data. Click OK.

Result: The data for the selected tables is imported into Excel at the insertion point

Next Steps

To start a trial of DataDirect to connect to Salesforce data please visit: https://www.progress.com/data-connectivity/salesforce and hit the Try Now button to get started.

Connect any application to any data source anywhere

Explore all DataDirect Connectors

Need additional help with your product?

Get Customer Support