Skip to content

Instantly share code, notes, and snippets.

@sgraber
Forked from kristopherjohnson/ScalePictures40.vb
Created February 8, 2018 14:30
Show Gist options
  • Save sgraber/6ec30a406ba336572d47e5a4dc8c17a0 to your computer and use it in GitHub Desktop.
Save sgraber/6ec30a406ba336572d47e5a4dc8c17a0 to your computer and use it in GitHub Desktop.
Microsoft Word macro to resize all pictures in a document to 40% of original size
Sub ScalePictures40()
Dim i As Long
With ActiveDocument
For i = 1 To .InlineShapes.Count
With .InlineShapes(i)
.ScaleHeight = 40
.ScaleWidth = 40
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