共用方式為


Wrong number of arguments or invalid property assignment

You invoked a procedure, but used either the wrong procedure name, the wrong number of arguments for this procedure, or wrong argument types.

The number of arguments passed to a procedure must match the number of parameters in the procedure's definition.

To correct this error

  • Check to see that the argument list you are passing to the procedure matches that in the procedure declaration or definition.

See Also

Reference

Function Statement (VBScript)

Sub Statement

Call Statement