class modules

  1. 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...
  2. 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...
  3. 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?
  4. 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...
  5. 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

  • Problem with Radio Button's format control
    I am creating an employee evaluation template (a sample is below) Column A is the category Column B, C D, E and F will be ratings (unacceptable...
  • Last Display on userform to a Listbox
    [CODE=vba] lstdisplay.ColumnCount = 15 lstdisplay.RowSource = "A1:O600000" [/CODE] So when i do this it Displays everything on the sheet i am...
  • Rename and move files to a new location
    Dear all, I have an excel file with the following information. The actual file name is at column A but i want to rename it using the following...
  • Help with True/False Formula
    Hello! Am stumped how to fix this formula, in which my result returns 'True', but it should return False. =IF(AG2=True...
  • Clear extra characters from a provided range of cells
    Dear All, I have following code which gives me desired output to remove extra characters from a provided range. But it takes too much time when...
  • Help with Current and highest streaks
    Hi there, I've just joined the forum and this is my first post. I've already spent quite a bit of time searching the net and this forum for a...