Standardize all imagens in Word at once (Size and alignment)

Опубликовано: 03 Август 2026
на канале: Canog Tutoriais
87,434
1.5k

Follow the code ( just control + C and control + V):

Sub RedimensionarImagens()

Dim ishp As InlineShape

For Each ishp In ActiveDocument.InlineShapes
ishp.LockAspectRatio = msoFalse
ishp.Width = 5
ishp.Height = 150
Next ishp

For Each oILShp In ActiveDocument.InlineShapes
oILShp.Select
Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
Next

End Sub