About 68,500 results
Open links in new tab
  1. class - VBA - Returning array from Property Get - Stack Overflow

    May 31, 2013 · Also, the get property is returning the entire array, rather than just the element in question. Change the return type of Property Get from Double () to just plain Double.

  2. Set property of vba class with object reference - Stack Overflow

    The Set statement is used to make a reference of an object to an object variable. You don't have to use the Set keyword, if you are dealing with primitive and native built-in types such as …

  3. vba - Refer to a class property using a variable? - Stack Overflow

    Mar 17, 2016 · Is it possible to refer to a class property (name, office, officeto) by using a variable (similar to rst! [fieldname]). I tried setting it up like it was a recordset loop on a field, but it …

  4. vba Class Property Values, setting default values, storing values to ...

    Jun 25, 2020 · I'm trying to use a class module, instead of public variables, with property get and set. I want to set these values in a userform with text boxes, and update a listbox in the …

  5. class - VBA: Why Use Properties Instead of Subroutines or …

    Jul 22, 2015 · Why do we need to use property Let, Get and Set in a VBA class when we can simply pass and return our arguments using subroutines or functions?

  6. class - VBA difference between public variable and property

    Dec 16, 2015 · A property allows external access as though the property was a public field, while allowing the class to keep control of the data. The Get property may compute a "variable" that …

  7. VBA Class Module - Setting default values - Stack Overflow

    Jul 18, 2014 · In a Class Module using Let and Get properties, I haven't quite found my way around it yet since VBA defaultedly declares a Boolean variable as false. So I have, e.g.:

  8. class - Using a Private Property directly vs using Get and Let/Set ...

    Can someone explain or provide a reference discussing the benefits/purpose of using - INSIDE of a class module - Private Property Get and/or Let / Set statements in VBA vs accessing …

  9. Let property of VBA class modules - Stack Overflow

    Dec 11, 2012 · My understanding of using the Let property in a class module so far is that you set it up in the class modules like this: Dim pName as String Public Property Let Name(Value As …

  10. Class (Static) Methods in VBA - Stack Overflow

    May 27, 2017 · I wonder, whether it is possible to create class-methods in VBA. By class-method I mean methods that can be called without having an object of the class. The 'static'-keyword …