Skip to content

Instantly share code, notes, and snippets.

@ikoner
Created June 1, 2017 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ikoner/72d0ee4855e64f576f2d467f49ab1f03 to your computer and use it in GitHub Desktop.
Save ikoner/72d0ee4855e64f576f2d467f49ab1f03 to your computer and use it in GitHub Desktop.
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