Illegal use of property

You defined a property as a member of a class and then referred to that property in an inappropriate way. For example:

Class MyClass
  Property Set MyProp As Integer
  '...
  End Property
  Property Get MyProp As Integer
  '...
  End Property
End Class
Dim varV As Variant
Set varV = New MyClass
varV.MyProp			' Illegal: a reference to a property must occur
					' in a statement that assigns or retrieves the
					' property's value. 
X% = varV.MyProp(1)	' Illegal: integer variables can't be subscripted.

Remove the reference or correct its syntax.