Hi Daniel,
I'm wondering why the macro is not working on "workbook open"?
Is you Add-in not yet active?
I use the respective coding to start the add-in directly, so afterwards I can also trigger refresh etc. commands...
Try:
Private Sub Workbook_Open()
Dim lResult As Long
Dim addin As COMAddIn
For Each addin In Application.COMAddIns
If addin.progID = "SBOP.AdvancedAnalysis.Addin.1" Then
If addin.Connect = False Then addin.Connect = True
End If
Next
' Put here your "Application.Run" code
End Sub
Regards, Martin