Hello SAP BO Analysis/VBA Gurus,
I migrated some BEX 3.5 with macro code in SAPBEXonRefresh to BO Analysis.
I was able to run the macro code by using the Call Back Method "After Redisplay" - registering the call back in ThisWorkbook.Workbook_SAP_Initialize
(as explained in docu and with the help of SCN members).
In testing directly after migrating workbooks all worked fine .... but now I find out that the macros are not run at all!
Why? Per Windows group policy all Excel Macros are set to "Disabled with notification".
This means then whenever I open a BO Analysis workbook I get the "Macros have been disabled" bar message.
I surely can press "enable" but this doesn't help me as the Workbook_SAP_Initialize (which registers the call backs) should have run already/but did not. Hence all the macro code attached to "AfterRedisplay" gets not triggered.
Anyone a bright idea how to overcome this?
Thanks for all replies in advance,
Axel
PS: The issue was not occurring in testing as the VBA project/file was still open even you close the workbook -> Excel VBA behavior. When the BO workbook was open again it asked on "download/ before open" if macros should be enabled -> so Workbook_SAP_Initialize did run. Different behavior