Salesforce Excel Add in - auto refresh doesn't trigger a data connection download

扶醉桌前 提交于 2019-12-24 06:49:33

问题


I have an excel file which uses Salesforce connections (Salesforce Connector) to download the report file in csv format and updates the excel sheet with new data.

When i use the option Refresh All from Data, it automatically initiates the Salesforce.com connector to connect, download and update the new data.

I would like to refresh it every 5 minutes. (Initiate Salesforce Connector to connect, download and update the worksheet with latest data).

I have tried the following and unfortunately it did not work:

Refresh All --> Connection Properties --> Usage --> Refresh Every 5 minutes.

It refreshes but it does not initiate the salesforce connector to download and reflect the new data in worksheet.

I have tried creating the following macro to check if it initiates the Refresh All to connect, download and update:

Sub Macro1()

    ActiveWorkbook.RefreshAll

End Sub

How can I automatically initiate it every 5 minutes to reflect the latest data?

来源:https://stackoverflow.com/questions/42937961/salesforce-excel-add-in-auto-refresh-doesnt-trigger-a-data-connection-downloa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!