fumei,
i am developing one application with various controls in form, with choice the user new control is add, but i need change the refer of the mycmd for the user can operate any of controls in the form, and i'm tryng do it with the event click on control created.
combo,
thanks, this code is very important when we have one control in form, but i'm working with n controls, where n is defined by user and stay impossible declare n private with events object.
Hi,
I am new programmer in excel/vba and like capture a event click on control created dinamically in userform a runtime execution, follow the code part writed:
Private Sub Image1_Click()
Set mycmd = Frame1.Controls.Add("Forms.image.1", "nome" & i, True)
mycmd.Height = 12
mycmd.Width = 12...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.