I have a BPC 10 report where I want to validate selections made by the user before refreshing. I wrote a simple piece of code to test using one condition. If the condition is met, I want to display a message and prevent the report from refreshing. This is working fine but when the VBA dialog box appears, it gets hidden behind an EPM processing box and not readily visible. I had to hit alt-tab to bring it to the forefront. Any ideas why this would be happening? I don't recall this type of behavior when using v7.5.
Function BEFORE_REFRESH()
If some_issue = true Then
MsgBox "alert user"
BEFORE_REFRESH = False
End If
End Function