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.
- Delete all autoshapes in active worksheet with Go To function in Excel
- Delete all autoshapes in active worksheet with VBA
- Delete all autoshapes in worksheet or workbook with Kutools for Excel
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.
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
Shp.Delete
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.
Notes:
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.
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:
Best Office Productivity Tools
Supercharge Your Spreadsheets: Experience Efficiency Like Never Before with Kutools for Excel
Kutools for Excel boasts over 300 features, ensuring that what you need is just a click away...
Supports Office/Excel 2007-2021 & newer, including 365 | Available in 44 languages | Enjoy a full-featured 30-day free trial.
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
















