Hello all,
When I refresh a report with comments, the cells with comments show a #RFR value. When I refresh the report for a second time, the cells display the right value.
In order to avoid a second refresh to the user, I introduce the following function in VBA:
Function AFTER_REFRESH()
Dim rep As New EPMAddInAutomation
Range("COMMENTS").Select
rep.RefreshSelectedCells
AFTER_REFRESH = True
End Function
Once the refresh is done, the report shows all the cells correctly but with no formatting.
Before entering this function the formatting was ok.
Do you know which could be the reason causing this behavior? Do you know what I'm missing or what can I do to achieve the formatting and the comments cells with just one refresh?
Thanks a lof for your help!
Best Regards,
GZ