Private Sub UserForm_Initialize()
i = 1
Cells(1, 1) = "Name": Cells(1, 2) = "ControlTipText": Cells(1, 3) = "Height": Cells(1, 4) = "Left": Cells(1, 5) = "TypeName(Ctrl)": Cells(1, 6) = "TabIndex": Cells(1, 7) = "TabStop": Cells(1, 8) = "Tag": Cells(1, 9) = "Top": Cells(1, 10) = "Visible": Cells(1, 11) = "Width": Cells(1, 12) = "RowSource": Cells(1, 13) = "RowSourceType": Cells(1, 14) = "BoundValue": Cells(1, 15) = "[_GetID]": Cells(1, 16) = "[_GethWnd]": Cells(1, 17) = "InSelection": Cells(1, 18) = "Parent Name": Cells(1, 19) = "Cancel": Cells(1, 20) = "ControlSource": Cells(1, 21) = "Default": Cells(1, 22) = "HelpContextID": Cells(1, 23) = "LayoutEffect": Cells(1, 24) = "Object"
Cells(1, 25) = "Parent": Cells(1, 26) = "Accelerator": Cells(1, 27) = "Caption": Cells(1, 28) = "ForeColor": Cells(i, 29) = "BackColor"
On Error Resume Next
For Each c In Me.Controls
i = i + 1
With c
Cells(i, 1) = .Name
Cells(i, 2) = .ControlTipText
Cells(i, 3) = .Height
Cells(i, 4) = .Left
Cells(i, 5) = TypeName(c)
Cells(i, 6) = .TabIndex
Cells(i, 7) = .TabStop
Cells(i, 8) = .Tag
Cells(i, 9) = .Top
Cells(i, 10) = .Visible
Cells(i, 11) = .Width
Cells(i, 12) = .RowSource
Cells(i, 13) = .RowSourceType
Cells(i, 14) = .BoundValue
Cells(i, 15) = .[_GetID]
Cells(i, 16) = .[_GethWnd]
Cells(i, 17) = .InSelection
Cells(i, 18) = .Parent.Name
Cells(i, 19) = .Cancel
Cells(i, 20) = .ControlSource
Cells(i, 21) = .Default
Cells(i, 22) = .HelpContextID
Cells(i, 23) = .LayoutEffect
Cells(i, 24) = .Object
Cells(i, 25) = .Parent
Cells(i, 26) = .Accelerator
Cells(i, 27) = .Caption
Cells(i, 28) = .ForeColor
Cells(i, 29) = .BackColor
End With
Next c
End Sub