afterupdate

  1. P

    Mass Userform Textbox formatting as number via AfterUpdate()

    Hello, I have a userform with a bunch textboxes. I would like to format most of them as numbers with no decimals. The group of textboxes I would like formatted in this manner are consecutively numbered. I have the below code, which works, however, it is extremely cumbersome given the number...
  2. S

    Run time combobox creation with afterupdate

    Hi, i am curikus whether it is possible to set a macro for afterupdate action for created in runtime combobox? I get an error for not supporting such operation: ...'creation of cb on button click MyCB.afterupdate = "mymacro"
  3. kpasa

    AfterUpdate Event Handling for a textbox class

    I have a class that groups several textboxes in a userform for event handling. Here is the class: Private WithEvents MyTextBox As MSForms.TextBoxPublic EnableEvents As Boolean Public Property Set Control(tb As MSForms.TextBox) Set MyTextBox = tb End Property Private Sub...
  4. M

    AfterUpdate Event

    I have a textbox in a userform and would like to get the 'name' of the textbox upon the AfterUpdate event executes. At the moment I am using ActiveControl.Namebut as the focus has changed to the next control in the TabIndex, it returns the name of this control rather than the textbox that has...
  5. B

    Loop through controls on a userform not triggering afterupdate event

    I have a form in excel that includes a large number of controls. For many of the controls, there is an _AfterUpdate event that fires correctly when the user enters data. The _AfterUpdate code makes entries in one or more ranges in the associated spreadsheet (I am not using the ControlSource...
  6. M

    Add function to AfterUpdate

    Hi Guru's I'm using vbProperCase in a sub AfterUpdate. However, the vbProperCase does not take into consideration last names that have a hyphen or apostrophe. So, I found a function to solve the issue, but I'm not sure how to implement it. Can someone please walk me through this? Much...
  7. B

    Match Function in VBA only working for Letters not numbers

    I am pretty new to VBA and have learned most of what I know on this site. So I figured if I had a question I couldn't find the answer to this would be the site to come to. I am trying to create a sheet that is a database of parts. I have created a user form that lets you fill in the different...
  8. J

    Updating Cell Values with UserForm

    Hi, I'm having some trouble with a code I'm currently working on and I would really appreciate some help. What I'm trying to do is the following: I have a range (A1:A50), each cell populated by a string value. The vba code is looping through all the range cells and if a specific value is...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top