class modules

  1. S

    Create a range from data captured and store in variable to be referred to without push the data into cells

    Hi Everyone, I have data that is captured (by input from the user) like given below - the data in quotes is the data captured. I am labeling them here for easy reference. Data 1 captured in Cell A1- Size 1|Size 2|Size 3 Data 2 captured in Cell B1- AItem 1|AItem 2|AItem 3|AItem 4|AItem 5 Data...
  2. A

    Change Event for Multiple Check Boxes

    I have 25 text boxes named in the following manner on a UserForm Name: id_[X]_box 1<= x <= 25 I am trying to write a program which can register a change event for all 25 boxes and populate the corresponding [DESCRIPTION] Labels. Naming scheme for Description Labels Name: desc_[X]_label 1 <= X...
  3. ClimoC

    Single Class and EventHandler for multiple Control types in Userform?

    Howdy gang Trying to do a shortcut - Userform is having dynamic number of items created at runtime for the user to interact with. I've done this successfully with Checkboxes, and that's all fine - but I was as I'm adding a lot of textboxes and comboboxes, and they all need an event fired on...
  4. S

    VBA and Userform with button to add additional fields

    To provide me with a way to learn VBA I am creating an exercise workbook. I have a form setup with three initial fields, a textbox that tracks an action ID, dropdown with pre-defined list for action type and finally, action duration. The idea is I would enter an exercise, such as "Run for 2...
  5. S

    Class Module Has A Relationship

    Can I have class modules that contain other class modules as members of that class, like other OOP languages? If so how and when would the other class member be instantiated? Or would I have to Set it after creating and setting the object that contains it? Does that make sense?
  6. 6

    Exit event for textbox inside class module

    In my macro, I am creating textboxes and spinbuttons in the code, and have created a class to allow me to deal with events. I have the following declarations inside my class: Public WithEvents SpinButton1 As MSForms.SpinButton Public WithEvents IntegerTextBox As MSForms.TextBox For some...
  7. pedie

    Class Modules & Modules

    Hi, What is the difference between Class Modules & Modules? I use standard Modules and just curious what does Class Modules do or is for? Ped!;)

Some videos you may like

This Week's Hot Topics