on ‎2020 Sep 16 1:26 PM
Hello,
I donlowd the vba hook. But now is the question, how I implement the hook in my planning view.
I create a small code in the hook.
Function IBPAfterRefresh()
MsgBox ("Test")
End Function
But if I refresh my PA, nothing happend. So what I have to do furthermore.
I see the note 2421657 but this answered not my question.
Thanks in advanced
Oliver
Request clarification before answering.
Hi,
did you check if the VBA Hooks are enabled via the Global Configuration Parameter ACTIVATE_VBA_HOOKS and / or ACTIVATE_MD_VBA_HOOKS are at least set to OPTIONAL. You can check via the Global Configuration app on the WebUI.
BR Anna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
i achieve the next step. I insert the code now only in the IBPVBAHOOKMANAGER. (see screenshot.)
In my planning view is no further call of the function.
But now I have the situation, that for every planning view this vbahook start and the code is running. I want, that the code just run for one planning view.
Regards
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello,
in the meanwhile I understand, how i "include" the vbahook in my excel.
But know I have an further issue. I create in the vbahook function afterRefresh a small code
and in my planning view i called this function in the EpmAfterRefresh modul
but if i refresh now my planning view, follow message are appear which called, that the EPM function will be updated. this process will never end. First I put the left mouse button, it will end.
What is my mistake? Must I access the function from a other part of the excel sheet as EpmAfterRefresh Modul?
Thanks in advance
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 16 | |
| 5 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.