An invalid parameter was passed (Error 40054)

The value passed to a property or method is not a valid value.

Most properties and methods accept values of only a certain type, within a certain range, and an inappropriate value has been assigned to a property or method. See the property or method's Help topic to determine the appropriate types and range of values.