Visual Basic Scripting Edition  

Argument not optional

You invoked a procedure, but used the wrong number of arguments. The number of arguments passed to a procedure must match the number of parameters in the procedure's definition.

To correct this error

Check the function signature to make sure you supplied all the necessary arguments.

See Also

VBScript Procedures