I am trying create a form in powerpoint which collects information from a menu. I'm trying to figure out how to collect information from checkboxes in my form. I would like to collect the checkbox name from each checkbox and put it in an array. I'm not sure how to achieve this in powerpoint. This is what I have so far:

VB Code:
  1. Private Sub CommandButton1_Click()
  2.  
  3. Dim array1() As String
  4. Dim chk As CheckBox
  5. Dim i As Integer
  6. For Each chk In Me.Scripts
  7.    If TypeOf chk Is CheckBox Then
  8.       If chk.Value = 1 Then
  9.          array1(i) = chk.Name
  10.          i = i + 1
  11.       End If
  12.    End If
  13. Next chk
  14.  
  15. MsgBox i
  16.  
  17. End Sub

Problem is that it does not search for checkboxes, there is no Me.Controls, so Itried going thru the powerpoint script which looks like so:

VB Code:
  1. <div style='position:absolute;top:20.25%;left:12.35%;width:1.68%;height:4.0%'><![endif]><object
  2.   classid="CLSID:8BD21D40-EC42-11CE-9E0D-00AA006002F3" name=CheckBox1
  3.   id=CheckBox1 v:shapes="_x0000_s609286" width="100%" height="100%">
  4.   <param name=BackColor value=16777215>
  5.   <param name=ForeColor value=0>
  6.   <param name=DisplayStyle value=4>
  7.   <param name=Size value="362;714">
  8.   <param name=Value value=1>
  9.   <param name=GroupName value=Slide5>
  10.   <param name=FontName value=Arial>
  11.   <param name=FontHeight value=285>
  12.   <param name=FontCharSet value=0>
  13.   <param name=FontPitchAndFamily value=2>
  14.  </object><![if !ppt]></div>

Any help would be greatly appreciated. Thanks.