how to move a shape from a page to another page?  
Author Message
khlaw





PostPosted: Tue Aug 03 04:05:58 CDT 2004 Top

MS Word VBA >> how to move a shape from a page to another page?

I am working with VBA,and a problom puzzled me: how to move a shape by vba
from a page to another page? I can move it in the current page only.After
moved a shape, a "move object" item appears in the undo-toolbar ,and who can
tell me which VBA-command can replace it?

Word94  
 
 
Helmut





PostPosted: Tue Aug 03 04:05:58 CDT 2004 Top

MS Word VBA >> how to move a shape from a page to another page? Hi,
I don't think you can move a shape from one page
to the other programmatically. You can cut and
paste it, though.
By using e.g., as one might try,
Selection.ShapeRange.IncrementTop 600 (or greater)
the shape seems to be placed outside the page. It
is still there and can be brought back, but is
unvisible.
ActiveDocument.UndoClear clears the undo buffer.
HTH
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word 2002, Windows 2000