Thread: [Solved] size of imported images ???
View Single Post
 
Old 04-14-2019, 06:29 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try:
Code:
Sub Demo()
Dim iShp As InlineShape, Shp As Shape
With ActiveDocument
  For Each iShp In .InlineShapes
    iShp.ConvertToShape
  Next
  For Each Shp In .Shapes
    With Shp
      .LockAspectRatio = True
      .Height = CentimetersToPoints(3.5)
      .LockAnchor = True
      .WrapFormat.Type = wdWrapBehind
      With .Line
        .ForeColor.RGB = RGB(0, 0, 0)
        .Weight = 0.5
        .Visible = True
        .Style = msoLineSingle
      End With
    End With
  Next
End With
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote