Way to centrally locate ON ERROR code to accommodate ALL TextBoxes
I have a userform with more than 100 textboxes. Although fairly new to VBA, I know how to add ON ERROR code to a textbox to handle errors. My questions is whether it is possible to put this code in some central place in the userform/module/etc such that any error in ANY textbox can access it -- that way i will not have to put the code in EACH textbox.
For example, I would put something like ON ERROR GOTO "this routine" in EACH textbox's code
Then, somewhere centrally located (NOT in the TextBox) would be "this routine".
is this possible? If so, how?