Re: lost objects

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Keith,

Word 2003.

How can I locate and move items that manage to end up off the page (such as
images or text boxes) when resizing page layout or moving text around? I'd
like to do this without moving existing items around or resizing again. Is
there a way to do this? It seems like there should be a list of objects that
can be accessed where one can change properties such as position (similar to
what one might do with an object on a VB form).

You'd need to do this using macro code. For example, something like this might
help that moves all shapes anchored in the selected range back onto the page
if they're "off" the page:

Sub RecoverImages()
Dim rng As Word.Range
Dim shp As Word.Shape

Set rng = Selection.Range
For Each shp In rng.ShapeRange
If shp.Left < 0 Then shp.Left = 10
If shp.Top < 0 Then shp.Top = 10
Next
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

.



Relevant Pages

  • Re: Swing components
    ... moving and resizing them by mouse when the application is working? ... JFrame you can drag the corners around. ...
    (comp.lang.java.help)
  • recovering data due to partition magic crash
    ... i was resizing a parition with partition magic and it was in the 'moving ... i was able to use file recovery ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Swing components
    ... JGui provides handlers for moving and resizing which can be used with nearly ... http://uio.imagero.com Unified I/O for Java ...
    (comp.lang.java.help)
  • Re: positioning an image on a gallery page
    ... another reason to have two images and show/hide the big ... one rather than moving and resizing it would be to avoid the current ...
    (comp.infosystems.www.authoring.stylesheets)
  • Menu Bars
    ... Show on Toolbars Menu ... Allow Customizing ... Allow Resizing ... Allow Moving ...
    (microsoft.public.access.formscoding)