The following code, located in a module, gives me an error:
VB Code:
Public Property Get Length(n As Long) End Property Public Property Let Length(n As Long) End Property
I know the let satement needs the same arguments as the get statement... but I get an error saying:
Definitions of property procedures for the same property are inconsistent, or property has an optional parameter, a ParamArray, or an invalid set final parameter.
It must be the last option in the error message, because the others seem to be false.![]()


Reply With Quote
