View Single Post
 
Old 07-26-2018, 06:11 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,359
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

You might try a macro like the following. It ensures all shape objects are positioned within the page margins.
Code:
Sub Demo()
Application.ScreenUpdating = False
Dim Shp As Shape, iShp As InlineShape
For Each Shp In ActiveDocument.Shapes
  With Shp
    If (.Top < .Anchor.PageSetup.TopMargin) Or _
      (.Left < .Anchor.PageSetup.LeftMargin) Or _
      (.Top > .Anchor.PageSetup.BottomMargin - .Height) Or _
      (.Left < .Anchor.PageSetup.RightMargin - .Width) Then
        Set iShp = .ConvertToInlineShape
        iShp.ConvertToShape
    End If
  End With
Next
Application.ScreenUpdating = True
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote