VBA Code to Delete All Shapes in Excel

This code deletes all the shapes (e.g., images, charts, etc.) in the active worksheet.

VBA Code:

Sub DeleteAllShapes()
    Dim shape As Shape
    For Each shape In ActiveSheet.Shapes
    Next shape
End Sub

Check All VBA Codes

Join Our Telegram Group techguruplus telegram group Join Our WhatsApp Group techguruplus whatsapp group

Leave a Comment