on-internet
← Community

After input in text box how do cause AfterUpdate event to run?

Stack Overflow ·

I have an Excel VBA userform with several text boxes. The user will input a weight in a text box. They can then do other things on the form or click Apply, Update, Previous Event, Next Event or Cancel. After the weight is input, it must be validated, and if it is OK, the form is marked as mbFormChanged=True. This validation occurs in the text box's AfterUpdate event. My problem is that if the user types in a value and immediately clicks Apply, Update, Previous Event or Next Event, the field is not validated and it is as if it was never changed. I.e enter weight: 200[Update] However, if the use

Comments

Sign in or sign up to comment and upvote.

No comments yet.