I'm trying to use the Eval function to join some strings, but I keep getting an "Object required" error.
I know that Eval isn't an Outlook function, and so went to the Tools-->References menu, and selected "Microsoft Script Control.
I simplified the code but still receive the same error. Here's the code.
-----------------------
Dim sTest As String
sTest = sc.Eval("5+7")
MsgBox sTest
-----------------------
Any ideas on why this error occurs?
Thanks,
May
I know that Eval isn't an Outlook function, and so went to the Tools-->References menu, and selected "Microsoft Script Control.
I simplified the code but still receive the same error. Here's the code.
-----------------------
Dim sTest As String
sTest = sc.Eval("5+7")
MsgBox sTest
-----------------------
Any ideas on why this error occurs?
Thanks,
May