Try something like the following:
Dim Obj As OLEObject
For Each Obj In ActiveSheet.OLEObjects
Obj.Delete
Next Obj
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"quartz" wrote in message
...
How do you remove all items from an ActiveX control on a
spreadsheet?
Is there an equivalent to "RemoveAllItems"?
For example:
Dim ctrlX As OLEObject
Set ctrlX = ActiveSheet.OLEObjects("ComboBox1")
<<<<Remove All Items Code Needed Here
Also, how do you retrieve the current selection from this
control?
Thanks in advance for your assistance.