Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Analysis, edition for Microsoft Office
Viewing all articles
Browse latest Browse all 1521

Analysis for Excel Add-in to run automatically when document opens

$
0
0

Hi Experts,


I have an issue with the Analysis add-in.

I am aware of the registry setting that enables the loading of the add-in at Excel startup (which works great by the way), but this is not desired.

My issue is that whenever a user opens up an analysis for Excel document ,and the add-in is not loaded, the document cannot be refreshed. The user then has to activate the add-in and refresh.

Is there a way to embed a code in the Excel document to load the add-in every time it opens (if the add-in is not loaded)? A button in the excel to activate the add-in would also work great.

I tried this VBA code, but no luck. I guess it has something to do with the add-in being a COM add-in.

Private Sub Workbook_Open()

AddIns("Analysis").Installed = True

End Sub

Thanks,

Ofer


Viewing all articles
Browse latest Browse all 1521

Trending Articles