In a blank document, I insert images (screenshots - all are of same size and same format) from a folder. I want to resize the images to a desired size. All now I am doing is selecting one image by one, setting its size. Word does not seem to have multiselect working for images.
Ideally, I want to select multiple images set its size in one go with out use of a macro.
Answer
You have multiple way to do this:
1- Try using a macro with the following code:
Sub resize()
Dim i As Long
With ActiveDocument
For i = 1 To .InlineShapes.Count
With .InlineShapes(i)
.ScaleHeight = 50
.ScaleWidth = 50
End With
Next i
End With
End Sub
2- Resize all images to the same height and width:
a. Right click first image, open 'Size and Position' box (or open box from the Picture -> Format -> Size box. You need the size box, not just the height and width options in the tab, to disable the lock aspect ratio or this won't work)
b. Disable 'Lock Aspect Ratio'
c. Change height and width to desired size
d. Close box
e. Click on next image and hit F4. Continue by clicking on sequential images and hitting F4 (For MAC use "command - Y").
f. For large documents, use the vertical scroll bar on the right-hand side to move between images
3- Uniform aspect ratio for all images a. Right click first image, open 'Size and Position' box (or open box from the Picture -> Format -> Size box).
b. Change the aspect ratio % value
c. Close box
d. Click on the next image and hit F4. Note, the aspect ratio value wasn't changed to exactly the same value for all images, but was close (53 % instead of 50%) so the macro way is more precise
4- Or using third-party plugins for MS Word like KUTools
No comments:
Post a Comment