Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-26-2018, 06:11 PM
macropod's Avatar
macropod macropod is offline Text box seems to have gone off the page and now I can't get it back? Windows 7 64bit Text box seems to have gone off the page and now I can't get it back? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,518
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Text box seems to have gone off the page and now I can't get it back? Auto back to top of page Staywme Word 2 11-26-2016 05:30 PM
Radio buttons in a particular page gets disabled when i scroll down and return back to that page. arnprd Word 0 06-18-2015 10:54 AM
Text box seems to have gone off the page and now I can't get it back? Deleting Lines Pulls Back Next Page SQLUSA Word 5 12-18-2012 03:53 PM
Text box seems to have gone off the page and now I can't get it back? no page numbers -- how do i get them back -- only {page} at the header Straitsfan Word 4 06-27-2012 02:46 PM
My plain text post got converted to rich text in a reply, how to convert it back? david.karr Outlook 0 01-05-2012 09:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft