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