I am working with VBA. i puted a checkbox control on the form, i looked at properties of checkbox but there is no INDEX properties. How to i can make index properties of checkbox in vba? Thx advance.
checkbox indexing
Collapse
X
-
Originally posted by shaifulI am working with VBA. i putted a check box control on the form, i looked at properties of check box but there is no INDEX properties. How to i can make index properties of check box in vba? Thx advance.Code:Private WithEvents aa As CheckBox Private Sub Form_Load() Set aa = Me.Controls.Add("VB.CheckBox", "cmdOk") aa.Visible = True aa.Caption = "ALI" End Sub Private Sub aa_Click() MsgBox "Hello world" End Sub
Now only problem is that i m fail to create an array of these checkboxes.
If there any body can modify this code to an array then plz.
Regards
>> ALI <<
Comment