PROPERTY GET and SET must have same storage class and visibility

One of the following occurred:

  • You declared a property's variables to be Static by default in either the Property Get statement or the Property Set statement, but not in both. The declarations must agree: either both or neither must specify Static.

    Change either statement to agree with the other.

  • You declared a property's scope in a Property Get statement differently from the property's scope in the corresponding Property Set statement. The property must have a single scope: either Public or Private.

    Make them both Public or Private.