Excel Add-In for SAP SuccessFactors

Build 20.0.7695

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 SAP SuccessFactors, 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 SAP SuccessFactors:

  • SetProviderName
  • SetConnectionString

You can use the following code to start Querying Data.

Dim module As New ExcelComModule
module.SetProviderName ("SAPSuccessFactors")
module.SetConnectionString("User=username;Password=password;CompanyId=CompanyId;Url=https://api4.successfactors.com")

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 20.0.7695