OK.. I was able to get the previous post resolved successfully. (Thanks!)
Now I've got another doozy of a question. Is there a way to dynamically create sub-procedures?
Here's the scenario... I'm attempting to create a scalable database, where fields/controls can be added/deleted at will, and still preform it's functions. What I want the code to do is upon creation of control X, create the on-change function of control X.
Example:
Private Sub X_Change()
Call ColorsUpdate
End Sub
Everything in the function stays the same with the exception of the control name. X needs to be replaced with whatever the new control is called, and this needs to happen everytime a new control is added.
Can this be done? Thanks for all your help!
Now I've got another doozy of a question. Is there a way to dynamically create sub-procedures?
Here's the scenario... I'm attempting to create a scalable database, where fields/controls can be added/deleted at will, and still preform it's functions. What I want the code to do is upon creation of control X, create the on-change function of control X.
Example:
Private Sub X_Change()
Call ColorsUpdate
End Sub
Everything in the function stays the same with the exception of the control name. X needs to be replaced with whatever the new control is called, and this needs to happen everytime a new control is added.
Can this be done? Thanks for all your help!