I was about to post some more and carefully re-read your post. Some of my previous input was wrong due to a misreading and I apologies for any confusion.
I think this will be more helpful:
' A textbox is not an Excel object but an OLE one.
' There is a collection of all these in the sheets collection and we use that
Dim oleObj As OLEObject
For Each oleObj In ActiveSheet.OLEObjects
If oleObj.OLEType = xlOLEControl Then ' it is a Control Tool but
If Left(oleObj.progID, 15) = "Forms.ComboBox." Then ' is it a combobox?
Set oleTxtbox = oleObj.Object ' get the object (generic as it's not a native Excel object)
oleTxtbox.Value = "" ' and clear it
End If
End If
Next
I hope that helps.
Bookmarks