Hello, dear readers of CG Viz Studio Blog!

Ever found yourself in a pickle, needing to clear all those pictures from a Word doc? Maybe you’re streamlining your content or prepping a text-only format. Whatever the case, we’ve got a quick solution that’ll save you the hassle of deleting each image one by one. And guess what? It’s easier than you think!

Follow this Step-by-Step Guide to Deleting all Images from your Word Document


Step 1: Backup Your Document

Before we start, make a copy of your document. Trust me, it’s better to be safe than sorry!

Step 2: Access the Developer Tab

Not seeing the Developer tab? No worries! Just click on File, head over to Options, then Customize Ribbon, and tick that Developer checkbox. Voila!

Step 3: Get into the VBA Editor

Click on the Developer tab, then hit Visual Basic. A new window will pop up – that’s where the magic happens.

Step 4: Insert a New Module

Right-click on the project with your document’s name, select Insert, then Module. A blank space will appear, asking for your genius input.

Step 5: Copy-Paste the Magic Spell (I Mean, Code)

Here’s the nifty code that’ll do the trick for you:

Sub DeleteAllImages()
Dim oInlineShape As InlineShape
Dim oShape As Shape

For Each oInlineShape In ActiveDocument.InlineShapes
oInlineShape.Delete
Next oInlineShape

For Each oShape In ActiveDocument.Shapes
If oShape.Type = msoPicture Then
oShape.Delete
End If
Next oShape
End Sub

Step 6: Run the Macro

Hit Run and watch those images disappear like a magic act!

And You’re Done!

Simple, wasn’t it? Now you’ve got a squeaky-clean document, free of images, ready for whatever you need it for.

Got Questions or Feedback?


We’d love to hear from you. Drop us a comment below or reach out through our contact page. Sharing is caring, so tell us how this tip helped you!

Looking for Top-Notch 3D Visualization Services?


At CG Viz Studio, we’re all about bringing your visions to life with stunning 3D realism. From architectural visualization to product visualization, our team has the skills to showcase your project in its best light. Check out our services and let’s make something amazing together.

Get your project estimated within 60 minutes - simply send us your project brief!

Remember, whether it’s a detailed 3D rendering service you need, or if you’re looking to give your audience an immersive experience with a 3D configurator, CG Viz Studio is your go-to source for all things 3D.

Until next time, keep it creative!