Hi all,
I'm trying to trigger a macro when the user expand a node (double-click) in the hierarchy of the report. I thought that the event AFTER_EXPAND would have accomplished this scenario but the event isn't triggered.
This is the basic code:
Function AFTER_EXPAND()
Dim ps As New FPMXLClient.EPMAddInAutomation
ps.Refresh
AFTER_EXPAND = True
End Function
I can trigger the refresh event with BEFORE/AFTER_REFRESH.
Anyway my problem is this: I have created a local member with the function EPMRetrieveData and when I expand a node the function EPMRetrieveData for the just expanded members show #RFR:
and so I have to click on Refresh again which is pretty annoying. If I can put an auto-refresh in the macro after the user-triggered expand I can avoid the user-refresh.
Any suggestion ?
Thanks,
Michele