Hi,
In our BPC 10.0 NW system we have a menu page that includes Context Member selections (via EPMContextMember function) and links to launch other Input Schedules and Reports (via the EPMPathLink function).
Some of the input schedules that are launched from this page are based on a different model, so the context selections do not flow through when the schedule opens. This is frustrating to users as they need to enter their selections again for the new model.
I have tried to overcome this by creating a macro based on the Workbook_Open event in the target schedule which finds the context selections for the model from the source file and updates the context in the report model via the SetContextMember API.
This is working fine for me, but when other users open the schedule, the context does not get updated. It appears that the Workbook_Open macro does not run. If I insert the same VBA code in a macro attached to a button, it works fine for other users when they click the button.
I have also tried creating an Auto_Open macro with the same code, which again appears to work fine for me but not for other users.
Any ideas why the Workbook_Open macro would not be running for other BPC users? The macro is within the ThisWorkbook object of the relevant VBAProject file.
Thanks,
Matt