How to batch delete photos in Excel - No need to delete them manually
When creating an Excel file with customer information, employee information or product files, there will always be images next to them. Instead of doing it manually, you can batch insert image files into Excel and can also quickly batch delete images. For long data tables, if you want to delete all inserted images and leave only the data, readers can refer to the following article of Network Administrator. All images are quickly deleted after following a few simple steps, instead of manually deleting each image.
Method 1: Delete multiple photos in Excel using Go To Special
Step 1:
The user opens the Excel file that wants to delete the image and then presses the F5 key to open the Go To dialog box. In this dialog box, click on the Special button .
Step 2:
Display the Go To Special interface, select Objects below and click OK to continue.
Step 3:
Then the entire image is framed as below and we just need to press the Delete button to delete the image and you're done.
Method 2: Batch delete images on Excel using VBA Macros
Step 1:
We click on the Developer tab on the Ribbon and then click on Visual Basic . Or you press the key combination Alt + F11 to quickly open the VBA program.
Step 2:
Display the Microsoft Visual Basic for Applications interface, click the Insert menu above and then select Module .
In this interface, enter the code below into the code input interface.
Sub DeleteAllPics() Dim Pic As Object For Each Pic In ActiveSheet.Pictures Pic.Delete Next Pic End Sub
Step 3:
After entering the code into the Module1 (Code) interface, we click on the Run button to execute the command for Excel.
When finished running, turn off the Visual interface and get the results of all deleted images in the Excel file.
The two ways to batch delete photos in Excel files above are both equally simple and quick. However, method 2 requires the use of code, so you can always use the Go to Special method to delete Excel images.
Wishing you success!
You should read it
- Instructions for inserting an image into an Excel spreadsheet
- How to insert a batch image into Excel box
- Insert image object in Excel
- How to insert pictures into an Excel comment box
- How to delete photos in bulk in Excel
- How to fix the insert image in Excel
- MS Excel 2007 - Lesson 9: Insert images and graphics into a spreadsheet
- How to insert a fixed image into a cell in excel
- Microsoft introduced a new tool to turn an image table into an editable Excel table
- How to insert images into Excel spreadsheets
- Steps to export data from photos to MS Excel sheet on Android
- How to insert a Word document into an Excel file
Maybe you are interested
Stolen iPhone? Don't Delete It From Your Apple Account!
3 Ways to delete Apple ID account on iPhone, iPad
How to recover deleted Viber messages using Google Drive, iCloud
How to delete search history on CH Play, hide searched content
How to delete TikTok account permanently on phone
How to delete reminders from Calendar on iPhone