Ron,
Looking at that link I see that you quote some code from Dave P and myself
regarding deleting shapes (Shapes4). Your example is for Forms controls
only, whereas we have posted code for both Forms and Control Toolbox. I
didn't read the item in depth, it may be you were only looking for Forms
shapes, but just in case, I enclose the full code (PS it does still preserve
data validation and autofilter dropdown arrows <G>)
Sub DeleteShapes()
Dim shp As Shape
Dim testStr As String
Dim OkToDelete As Boolean
For Each shp In ActiveSheet.Shapes
OkToDelete = True
testStr = ""
On Error Resume Next
testStr = shp.TopLeftCell.Address
On Error GoTo 0
If shp.Type = msoFormControl Then
If shp.FormControlType = xlDropDown Then
If testStr = "" Then
'keep it
OkToDelete = False
End If
End If
End If
If OkToDelete Then
shp.Delete
End If
Next shp
End Sub
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)