Connect to Excel Online Data in DBArtisan

Ready to get started?

Download a free trial of the Excel Online ODBC Driver to get started:

 Download Now

Learn more:

Excel Online Icon Excel Online ODBC Driver

The Excel Online ODBC Driver is a powerful tool that allows you to connect with live Excel Online data, directly from any applications that support ODBC connectivity.

Access Excel Online Spreadsheet data like you would a database - read, write, and update data through a standard ODBC Driver interface.

Use wizards in DBArtisan to configure Excel Online data as a data source.

The CData ODBC Driver for Excel Online seamlessly integrates Excel Online data into database management tools like DBArtisan by enabling you to access Excel Online data as a database. This article shows how to create an data source for Excel Online in DBArtisan and execute queries. You can then edit data visually and execute standard SQL.

Integrate Excel Online Data into DBArtisan Projects

If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.

You can connect to a workbook by providing authentication to Excel Online and then setting the following properties:

  • Workbook: Set this to the name or Id of the workbook.

    If you want to view a list of information about the available workbooks, execute a query to the Workbooks view after you authenticate.

  • UseSandbox: Set this to true if you are connecting to a workbook in a sandbox account. Otherwise, leave this blank to connect to a production account.

You use the OAuth authentication standard to authenticate to Excel Online. See the Getting Started section in the help documentation for a guide. Getting Started also guides you through executing SQL to worksheets and ranges.

You can then follow the steps below to register Excel Online data as a database instance in your project:

  1. In DBArtisan, click Data Source -> Register Datasource.
  2. Select Generic ODBC.
  3. Enter a name for the data source and select the DSN.
  4. Finish the wizard to connect to Excel Online data. Excel Online entities are displayed in the Datasource Explorer.

You can now work with Excel Online data as you work with any other database. See the driver help documentation for more information on the queries supported by the Excel Online API.