Wrong number of arguments for: <name>

The following conditions could have caused this error:

  • You specified the wrong number of arguments when you called a sub or function.

    Change the number of arguments in the sub or function call to the correct number.

  • You specified the wrong number of arguments when you called a built-in function.

    For information about the function signature for a specific built-in function, consult the Help topic for that function.