creer un checkbox avec du code dedans
Bonjour a tous
je creer un checkbox avec le code suivant:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
framechoisi=1
cpt2=1
Set Obj = Controls("framee" & framechoisi).Controls.Add("forms.CheckBox.1")
With Obj
.Name = "selectionrecherche" & cpt2
.Object.Caption = ""
.Height = 18
.Left = 6
.Top = 18 * place
.Width = 329
.BackColor = &HFFFFFF
.ForeColor = &HFFFFFF
.FontSize = 14
.TextAlign = 2
.BackStyle = 0
End With |
Ce que je n'arrive pas a faire c'est d'introduire dans ce checkbox qui vient d'etre creer un code vba
Est il possible de le faire?