Visual Basic can't determine what action to take. This error has the following causes and solutions:
Keywords and the names of named arguments must exactly match those specified in their syntax specifications. Check online Help, and then correct the spelling.
For example, when you omit optional arguments positionally, you must substitute a comma (,) as a placeholder for the omitted argument.
Check the spelling of the procedure name.
A ParamArray argument can't be Optional. Choose one and delete the other.
Remove the Optional or ParamArray keyword from the parameter specification.
Events do not support named arguments.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).