I am trying to call a user defined function in Outlook VBA with eval, but script control seems not to recognize my local functions :
Public Function myFunc() As String
myFunc = "foo"
End Function
...
Dim sc As Object
Set sc = CreateObject("MSScriptControl.ScriptControl")
sc.Language =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.