page sequences

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I change the order of pages in a Word document? e.g. make page 8 into page 2 in a sequence of pages.
 
There is no concept of 'page' as an entity in Word, the pages are created by
text flow which is governed by a variety of factors; however, depending on
what is actually in those 'pages' the following macro *may* help, but use
with caution and remember that while the document remains open you can go
back with undo if it does not produce the required results:

Sub PageMove()
sNumber = InputBox("Move to location before which page?", "Move Page", 1)
ActiveDocument.Bookmarks("\page").Range.Cut
Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:=sNumber
Selection.Paste
End Sub


--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail (e-mail address removed)
Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
Back
Top