Hi Dennis
No need to use
> ActiveSheet.OLEObjects.Delete
This code will delete them
Sub Shapes1()
'Delete all Objects except Comments
On Error Resume Next
ActiveSheet.DrawingObjects.Visible = True
ActiveSheet.DrawingObjects.Delete
On Error GoTo 0
End Sub
--
Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm
"Dennis Saunders" <(E-Mail Removed)> wrote in message news:c6sai.21483$(E-Mail Removed)...
> Thanks Ron,
> I had a variation of "Notusethis Macro" which slowed the macro down and had
> deleted the drop downs. A very fine fix indeed....it now looks like:
>
> Sub DelWebstuff()
> '
> ' Macro2 Macro
> ' Macro recorded 22/02/2003 by Dennis
> '
>
> '
> ActiveSheet.Hyperlinks.Delete
> ActiveSheet.OLEObjects.Delete
> ActiveSheet.DrawingObjects.Visible = True
> ActiveSheet.DrawingObjects.Delete
> 'Dim sh As Shape
> 'For Each sh In ActiveSheet.Shapes
> ' sh.Delete
> 'Next
>
> End Sub
>
>