Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to quickly delete all autoshapes in Excel?

If you want to get rid of the auto shapes in Excel, you may look for an easy way to delete all shapes quickly rather than removing auto shape one by one. The following tricky method will help you delete all auto shapes with only one click.

arrow blue right bubble Delete all autoshapes in active worksheet with Go To function in Excel

If there are only one kind of objects—autoshapes in a worksheet, you can delete all autoshapes with Go To function.

1. Click F5 or Ctrl+G to display Go To dialog and click Special.., see screenshot:

2. Check Objects, and then click Ok, it will select all objects, see screenshot:

3. Then click Backspace button to remove all autoshapes.

Note: Objects contain autoshapes, pictures, clip arts and so on. Applying this method will remove other objects besides auto shapes if there are not only autoshapes object in the worksheet.

arrow blue right bubble Delete all autoshapes in active worksheet with VBA

Using VBA macro can help you delete all auto shapes in active worksheet quickly.

Step 1: Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.

Step 2: Click Insert > Module, and paste the following macro in the Module window.

VBA: delete all shapes in active worksheet.

Sub DeleteShapes()
Dim Shp As Shape
For Each Shp In ActiveSheet.Shapes
Next Shp
End Sub

Step 3: Press the F5 key to run this macro.

Then you will see all shapes in active worksheet are deleted quickly.


1. This VBA macro can only delete all shapes in active worksheet.

2. This VBA macro can delete all kinds of shapes in active worksheet, including pictures, ClipArt, Shapes, SmartArt, charts, Text boxes, etc.

arrow blue right bubble Delete all autoshapes in worksheet or workbook with Kutools for Excel

If you only want to remove the auto shapes from the worksheet, Kutools for Excel's Delete Illustrations & Object can help you delete specific shapes in active worksheet, selected worksheets or the whole workbook with only one click.

Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 30 days. Get it Now.

Step 1: Click the Kutools > Delete Illustrations & Object.

Step 2: In Delete Tools dialog box, please check Auto shapes option, and check one of option in look in section. See the following screen shot:

  • If you check the Active sheet option, it will delete all auto shapes in active worksheet;
  • If you check the Selected sheets option, it will delete all auto shapes in selected worksheets;
  • If you check the All sheets option, it will delete all auto shapes in the whole workbook.

Step 3: Click OK, it will remove all auto shapes.

Kutools for Excel's Delete Tools can help us delete all charts, lines, pictures, auto shapes, smart arts, text boxes, linked OLE objects and embedded OLE objects in active worksheet, selected worksheet or all worksheets of the current workbook. Click to know more…

Relative articles:

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Screen Shot of Excel (with Office Tab installed)

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Anonymous · 11 months ago
    Is there a faster way? My sheet has over 30,000 tiny shapes, which appear to have been automatically generated. Iterating through all of them in VBA takes a very long time and trying to select all of them freezes Excel. Is it possible to do something like delete ActiveSheet.Shapes. Or delete the drawings file that hosts them?
  • To post as a guest, your comment is unpublished.
    Fi · 1 years ago
    Great tip about Ctrl + G. Thank you!!
  • To post as a guest, your comment is unpublished.
    Trungdt · 1 years ago
    thanks.!very much
  • To post as a guest, your comment is unpublished.
    Philip · 1 years ago
    Thank you so much.
  • To post as a guest, your comment is unpublished.
    Bhagwat · 1 years ago
    It worked out. Thanks a lot. There were so many auto shapes inserted in the sheet resulted into not responding error.