Resize multiple images at once in word | Word Resize all images

Published by Get eSolutions on

Sometimes we have text with multiple images in MS-Word Document. And we need all the images in the same size. If we resize these images one by one then it may not be resized in the same size. And Word doesn’t have multiple selection feature for images. So If you want to resize the images to the desired size, then you can easily do with this macro code.

HIGHLIGHTS:

  • You can resize the images to the desired size.
  • It will resize all Multiple Images/pictures at once in MS Word

getesolutionsMACRO CODE

Sub resize()
Dim i As Long
With ActiveDocument
    For i = 1 To .InlineShapes.Count
        With .InlineShapes(i)
            .ScaleHeight = 50
            .ScaleWidth = 50
        End With
    Next i
End With
End Sub 

1 Comment

Jeroen Van Ostaeyen · September 9, 2019 at 1:43 pm

can you change it instead of percentage to a chosen with or height but remaining the aspect ratio?

Leave a Reply

Title