I have an own class (ClassFoo) with a simple property (pName), and I could not set it, because I always get error ...
Class Modules - ClassFoo
---
Public pName as String
Public Property Let Name(Value as String)
pName = Value
End Property
----
Somewhere else in the ModuleX
...
Dim Foo as ClassFoo
Foo.Name = "foo" <- throws error
Foo.pName = "foo" <- throws error
or
With Foo
.pName = "foo" <- throws error
End With
I changed the class 'Instancing' from 'Private' to 'PublicNotCreatable' (back and forth) But I still have the same error ...
Thanks for the replies in advance.
Cs