• Class module – property set

    Author
    Topic
    #466381

    Hello again. (VBA)

    Does anyone have a simple example or explanation of Property Set within a class module?
    I understand Let and Get in terms of properties, but can’t grasp the Set function.

    Thanks, Andy.

    Viewing 1 reply thread
    Author
    Replies
    • #1208299

      Property Let assigns a value to a property. Property Set assigns an object reference to a property — just like Set assigns an object reference to a variable.

    • #1208571

      Thank you

    Viewing 1 reply thread
    Reply To: Class module – property set

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: