Visual Basic Reference
Invalid property value (Error 380)
An inappropriate value is assigned to a property. This error has the following cause and solution:
You tried to set one of the properties of an object or control to a value outside its permissible range.
Change the propertys value to a valid setting. For example, the MousePointer property must be set to an integer from 0 to 15 or 99.