I have some code that creates a UserForm. In the Code Module for this form I have a change event for a text box that calls another sub to handle the event (don't really want to code everything and then put it into the code for this form with .InsertLine Count + 1 = "Line of Code" infront of every line). My problem is, I need to know which text box is creating the change event, but because the form is newly created, the error I get is:
Run-tiem error '91':
Object variable or With block variable not set
UserForm1.ActiveControl.Name works fine if the Form exists in the Project, but not for a form created by code.

Maybe I should create a form that resides in the Project all the time and just edit it instead of creating one dynamically, but I imagine there is a way to work with this form, I just don't know how. As always, your help has been amazing and is greatly appreciated.

Bill (where's the tearing my hair out Smilie [Smily]?)