Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MS Word VBA - resize all images in document
Sub ResizeImages()
Dim i As Long
With ActiveDocument
For i = 1 To .InlineShapes.Count
With .InlineShapes(i)
.Height = CentimetersToPoints(8)
.Width = CentimetersToPoints(8)
End With
Next i
End With
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment