How to delete all charts in Excel Workbooks?
Inserting charts is a good way to explain Excel data clearly. However, you may need to delete them from Excel workbooks sometimes. Here we introduce some methods to delete all charts in Excel workbooks easily and quickly.
- Delete all Charts in the active worksheet with VBA
- Delete all Charts in active worksheets or workbook with Kutools for Excel
Excel Productivity Tools
Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial
Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately. 60-day Unlimited Free Trial
If you delete each chart in Microsoft Excel one by one manually, it must be arduous and time-consuming. Using VBA Macro will make your work easier.
Step 1: Hold down the ALT + F11 keys in Excel, and it opens the Microsoft Visual Basic for Applications window.
Step 2: Click Insert >> Module, and paste the following macro in the Module Window.
Dim chtObj As ChartObject
For Each chtObj In ActiveSheet.ChartObjects
Step 3: Press the F5 key to run this macro.
Note: This macro will only remove all charts in active worksheet.
Studying macros may be not easy for Microsoft Excel's common users. Please do not worry about it. Kutools for Excel's Delete Illustrations & Object…. can help you to delete all charts in the active worksheets or workbook.
Step 1: Click the Kutools >Delete Illustrations & Object….. See screenshot:
Step 2: In Delete Illustrations & Object dialog box, check the Charts option in Delete section. See screenshot:
Step 3: Check one of options in Look in section. See screenshot:
- If you need to delete all charts in active sheets, check the Active sheet option;
- If you need to delete all charts in the whole workbook, check the All sheets option;
- If you need to delete all charts in several specific worksheets, check the Selected sheets option.
In this case, I select All sheets, see screenshot:
Step 4: Click OK.
Kutools for Excel's Delete Illustrations & Object….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…