View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Pluut[_2_] Pluut[_2_] is offline
external usenet poster
 
Posts: 1
Default add dynamic control (checkbox)


For example, I try this for 1 checkbox, but it doesn't work.

Private Sub UserForm_Initialize()

Dim chb As Control

Set chb = Controls.Add("Forms.CheckBox.1)")

End Sub

How can I let this work?

Thanks Pluu

--
Pluu
-----------------------------------------------------------------------
Pluut's Profile: http://www.excelforum.com/member.php...fo&userid=3723
View this thread: http://www.excelforum.com/showthread.php?threadid=56951