$EXECUTE$+2; Type mismatch on: Doc using

Hi I trying to use the method ‘Execute’ in Scribt.

But for some reason I get following message:

$EXECUTE$+2; Type mismatch on: Doc using

I try to execute a function located in a Scibtlibrary. My function have 2 parameter. A Notesdocument and a variant.

My Code is here:

Sub ExecuteInsub(Doc As notesdocument,Curuser)

Dim Library As String

Dim callString As String

Dim methodName As String

Library =“Scribtlibrary1”

methodName=“GetResult”

callString = |Use | & |“| & Library & |”| & |

response = | & methodName & |(Doc,Curuser)|

Execute callString

End Sub

Subject: $EXECUTE$+2; Type mismatch on: Doc using

HiI figure out the problem.

The parameters have to bee global Variables