on 04-12-2016 12:21 PM
Hi Friends,
I have a requirement where I need to trigger a macro with standard refresh button . and is it possible to trigger ARTER_REFRESH with standard refresh button.
Any help will be highly appreciated.
Thanks
Suvendu
Hi Suvendu,
Yes you can trigger a macro with refresh button.
Try the syntax :
Option Explicit
Sub RefreshButton_Click()
Dim api As Object
Set api = Application.COMAddIns("FPMXLClient.Connect").Object
api.Refresh
End Sub
Also, you can trigger the macro After Refresh
Option Explicit
Function AFTER_REFRESH()
//Place you code here//
AFTER_REFRESH = True
End Function
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.