You can use a named argument only once in the argument list of each procedure invocation. This error has the following causes and solutions:
MySub
expects the named arguments Arg1
and Arg2
, the following call would generate this error:
Call MySub(Arg1 := 3, Arg1 := 5)
Remove one of the duplicate specifications.
Call MySub(1, Arg1 := 3)
Remove one of the duplicate specifications.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).