Share via


Must be defined inside a Class

You created a Property procedure (Property Let, Property Set, or Property Get), but defined it outside of a Class definition. You can only create Property procedures inside classes.

To correct this error

  • Make sure all Property Let, Property Set, and Property Gets are defined inside a Class definition.

See Also

Reference

Property Let Statement

Property Set Statement

Property Get Statement