View Single Post
 
Old 03-01-2017, 08:35 AM
menander menander is offline Windows 10 Office 2013
Novice
 
Join Date: Mar 2017
Posts: 3
menander is on a distinguished road
Default

DesiredHeight = InputBox("Enter desired height for images:", , 400)
For Each ishape In ActiveDocument.InlineShapes
With ishape
ImageWidth = .Width
ImageHeight = .Height
NewHeight = DesiredHeight
NewWidth = Round(NewHeight * ImageWidth / ImageHeight)
.Height = NewHeight
.Width = NewWidth
End With
Next
Reply With Quote