c = "someobject" If ControlType(c) = "Other.SWrapObject" Then Msgbox(Control(c).ToString) Else Msgbox(ControlType(c)) End If