Is there a way to set the default property of a user-defined object. Like Range's default property is Value. If I had a class CVenkman with a get-able and let-able property PVenkman of type long. Is there a way to set PVenkman to be the default property so that the following code would not raise an error:
dim myClass as CVenkman
set myClass = New CVenkman
myClass = 10
msgbox myClass
Thanks
-Venkman
dim myClass as CVenkman
set myClass = New CVenkman
myClass = 10
msgbox myClass
Thanks
-Venkman