Private Sub Command1_Click()
'On Error Resume Next
Dim oCtrl As Control, c As String * 1
For Each oCtrl In Me.Controls
For i = 1 To oCtrl.Properties.Count
c = ""
If oCtrl.Properties(i).Type = 8 Then
c = Chr(34)
End If
Debug.Print oCtrl.Properties(i).Name & "=" & c & oCtrl.Properties(i) & c
Next i
Next oCtrl
Debug.Print vbCrLf
End Sub