Automation-Object argument count

You called a method of an OLE Automation object and included too few or two many arguments. The number of arguments must be the same as the number of parameters defined for the method.

Check the documentation for the OLE Automation object to ascertain the method's parameters.