A family of Microsoft word processing software products for creating web, email, and print documents.
To resize one picture:
Sub ResizePic()
Select Case Selection.Type
Case wdSelectionShape
With Selection.ShapeRange
Select Case .Type
Case msoPicture, msoLinkedPicture
.LockAspectRatio = msoTrue
.Width = Application.InchesToPoints(3)
End Select
End With
Case wdSelectionInlineShape
With Selection.ShapeRange
Select Case .Type
Case wdInlineShapeLinkedPicture, wdInlineShapePicture
.LockAspectRatio = msoTrue
.Width = Application.InchesToPoints(3)
End Select
End With
End Select
End Sub
To resize all pictures in the document:
Sub ResizePics()
Dim shp As Shape
Dim ish As InlineShape
For Each shp In ActiveDocument.Shapes
Select Case shp.Type
Case msoPicture, msoLinkedPicture
shp.LockAspectRatio = msoTrue
shp.Width = Application.InchesToPoints(3)
End Select
Next shp
For Each ish In ActiveDocument.InlineShapes
Select Case ish.Type
Case wdInlineShapeLinkedPicture, wdInlineShapePicture
ish.LockAspectRatio = msoTrue
ish.Width = Application.InchesToPoints(3)
End Select
Next ish
End Sub