You need to sign in to do that
Don't have an account?
dontich
Macro to run Excel Queues automatically
I am currently updating data into salesforce oppertunities using the excel connector professional addition. I have gotten everything to run perfectly however it is a pretty time comsuming process to do by hand every single time any data needs to be updata ( would be done weekly). I am wondering if I can write a macro to automatically call the salesforce excel connector plugin. I am unable to access the macro's source code and when I try to record the macro then run the addon, all that is displayed in the macro is to select the cell to start in. Would I have to have access to the salesforce connector to do this?? Also is their a place I am not looking for, in order for me to issue VBA commands to the add-in. |
The connector plug in is password protected, but you can enable the project in VB and then call certain subroutines in your macro.
To enable, open your VB project, then click Tools on the menu, then References, then check-box the sforce connector and save the change.
In your macro, put sfQueryAll on its own line; that should run all the queries on the active sheet.
Other subroutines include:
Example:
a short-cut to sflookup. It is the equivalent of:
Thanks!!, Also how would i run the command to update particular cells ( it can just be the current selection)
I figured this out myself. You do it with the update_Range command
I realize this is 9 months old, but do you happen to know what command would run the query on ALL sheets? I saw sfQueryAll, but I think that's per sheet. I'd like to update the whole document.