Rainbowhawk
Registered User.
- Local time
- Today, 16:05
- Joined
- Oct 8, 2007
- Messages
- 54
Hi All
I am trying to pass a boolean variable to a class module
the code in the module that this in theory is calling reads as
However I am getting the error message
Can Anyone Help?????
Thanks
I am trying to pass a boolean variable to a class module
Code:
Set rps.ViewS = View
the code in the module that this in theory is calling reads as
Code:
Private ViewC As Boolean
Public Property Set ViewS(ByRef ViewA As Boolean)
Set ViewC = ViewA
End Property
Public Property Get ViewS() As Boolean
Set ViewS = ViewC
End Property
However I am getting the error message
Definitions of property procedures for the same property are inconsistent, or property procedure has an optional parameter, a ParamArray, or an invalid Set final parameter.
Can Anyone Help?????
Thanks