
If your query has an empty result set, you will not get an array back from SFDC: you’ll get a null object that will cause error messages in your code if you try to do anything with it.


Set automationObject = Application.COMAddIns("TaralexLLC.SalesforceEnabler").Object And that means putting this code at the top of your VBA module or function: Dim automationObject As Object

You can’t record macros with XL-Connector buttons so you have to work with VBA code in order to do automation with the SFDC data.īefore you start, you have to get the XL-Connector COM addin properly instantiated in your worksheet’s memory space. You can use VBA to work with the underlying SFDC database access functions of XL-Connector.
