Visual Basic for Applications Reference
A named argument may not be used in a procedure invocation unless it appears in the procedure definition. This error has the following cause and solution:
- You specified a named argument, but the procedure was not defined to accept an argument by that name.
Check the spelling of the argument name.
For additional information, select the item in question and press F1.