Excel Add-In for WooCommerce

Build 23.0.8839

Connecting from VBA

Before You Connect

Prior to connecting from VBA, it is necessary to add a reference to the add-in. This should be done once per module.

From the Microsoft Visual Basic for Applications window ("Visual Basic" on the Developer ribbon), navigate to Tools -> References. Check the box next to CData Excel Add-In and confirm with OK.

Establishing a Connection

To execute SQL to WooCommerce, initialize an ExcelComModule instance. This class can be used with any CData provider. You can call the following methods to initialize the module for working with WooCommerce:

  • SetProviderName
  • SetConnectionString

You can use the following code to start Querying Data.

Dim module As New ExcelComModule
module.SetProviderName ("WooCommerce")
module.SetConnectionString(" Url=http://localhost/woocommerce/;ConsumerKey=ck_ec52c76185c088ecaa3145287c8acba55a6f59ad;ConsumerSecret=cs_9fde14bf57126156701a7563fc87575713c355e5;")

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839