Video thumbnail for Delete All Excel Shapes Instantly With Just One Click!

Delete All Excel Shapes Instantly With Just One Click!

Jun 22, 2025
Welcome back to another video. Today I walk you step by step writing a simple but effective Excel Macro to delete all shapes on all worksheets in your Excel workbook. I recently needed to delete multiple text boxes from 50 worksheets. A great job for some VBA Code. I create to variables in the code, one for worksheets in the workbook and one for shapes in the worksheets. I use a FOR loop to loop though the each worksheet and each shape which is deleted. You can copy my code below and feel free to try it out. Option Explicit 'macro by HowToExcelAtExcel.Com Sub DeleteAllShapes() Dim ws As Worksheet Dim shp As Shape For Each ws In ThisWorkbook.Worksheets For Each shp In ws.Shapes shp.Delete Next shp Next ws End Sub Disclaimer: Always backup your work before running any code. My Excel Playlist is below. Excel Tips Playlist https://www.youtube.com/playlist?list=PLEu0c1pZOWXEg8N8SuHfQo0zyDhUSqp3Q Subscribe and watch more videos that help you use Microsoft Excel. / @howtoexcelatexcel Be Social & Let's Connect ++Website http://www.howtoexcelatexcel.com ++Twitter / howtoexcelatex Keep Excelling!.

View Video Transcript
Science