Control是控件的基类型。
2007-10-05 12:33
2007-10-05 18:57
试试:
Private Sub Command1_Click()
Dim x As Control
Dim i As Integer
For Each x In Me.Controls
If LCase$(TypeName(x)) = "checkbox" Then
i = i + 1
End If
Next
MsgBox "检查框数量为:" & i
End Sub

2007-10-05 21:44
2007-10-05 21:58
2007-10-06 00:13
2007-10-06 15:17
2007-10-06 15:19
2007-10-08 21:10
2007-10-08 21:11
2007-10-08 21:16