Greetings,
I believe I bumped into a contradiction. According to the official VBA docs from Microsoft here:
Property Let statement
https://docs.microsoft.com/en-us/of...ce/user-interface-help/property-let-statement
The VBA compiler barks citing it cannot find the property of the SAME CLASS when I mark it Private. As Public it works as expected.
So... is there a minimum version of Access / VBA in order to get support for Private Property Let? I am running A2016 32-bit edition.
Or is there an alternate syntax to use within the same class a Property Let which is marked Private?
I am thankful,
I believe I bumped into a contradiction. According to the official VBA docs from Microsoft here:
Property Let statement
https://docs.microsoft.com/en-us/of...ce/user-interface-help/property-let-statement
So I am trying to create a read-only Property that is settable by the class itself via the standard Property Let syntax. I am using elsewhere in the class the following syntax:Private Optional. Indicates that the Property Let procedure is accessible only to other procedures in the module where it is declared.
Code:
Me.PropertyName = NewValue
So... is there a minimum version of Access / VBA in order to get support for Private Property Let? I am running A2016 32-bit edition.
Or is there an alternate syntax to use within the same class a Property Let which is marked Private?
I am thankful,