Permission denied: 'MsgBox'

May 22, 2014 at 7:51 AM
Edited May 22, 2014 at 3:46 PM

I try run simple function that used with MsgBox and have permission denied error. What is wrong?
sub Test
    MsgBox "Hello"
end sub
May 22, 2014 at 3:50 PM
Maybe that related to implementation of IActiveScriptSiteWindow interface?
May 22, 2014 at 4:02 PM
Yes, that's possible. A web search reveals that MsgBox often fails in server environments, but we haven't had a chance to investigate the underlying reason. Your suggestion may very well be correct.