ERROR : Wrong number of arguments or invalid property assignment
 
 
 
 'ERROR : Wrong number of arguments or invalid property assignment

Possible Cause

You may be using the wrong number of arguments or one of them is of a different type than expected. This often happens if you are using a command with several arguments and you forgot one.

Suggested Solution

Check the syntax of the command, method, event or property again.

Tip

You may get this error in VBScript if you have forgotten to use the set keyword which is used to store a pointer to an object rather than a data value).