Muokkaa

Jaa


Illegal parameter. Can't write object because it does not support persistence.

This error has the following causes and solutions:

  • You attempted to write an object to a PropertyBag object, but the object doesn't support one of the ActiveX persistence interfaces. To fix this, you must have access to the code for the object. It must a Visual Basic-created object and have its Persistable property set to True. Also, the Class must be either Public or Public Createable and be in an ActiveX Dll, ActiveX Exe, or UserControl project.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.