Changing Page Numbers

T

T. L. Russell

I have a document in Microsoft Word, but the pages are in the wrong order.
Is there a command to reassign the page numbers, so that they will appear in
the right order, without copying and pasting?
 
D

Doug Robbins - Word MVP

Hi T.L.

If that is the case, the page number could not have been applied using the
{ PAGE } field.

The proper way to insert pagenumbers is to insert that field into the Header
or Footer of the document. There is a # button on the Headers and Footers
toolbar that will insert the field for you.

You will need to delete the existing "page numbers".

Please respond to the newsgroups for the benefit of others who may be
interested.

Hope this helps
Doug Robbins - Word MVP
 
T

T. L. Russell

Doug,

What I want to do is rearrange the pages without having to cut and paste.
Re-assigning page numbers is relatively easy. Is it possible to do what I
want?

Tim
 
D

Doug Robbins - Word MVP

Hi Tim,

Ah, that's something different.

Create a new blank document and save it as Target in the default documents
folder as specified under Tools>Options>File Locations. Then close that new
document.

Now, open the document whose pages you want to re-arrange, put the cursor
somewhere on what you want to become the first page of the new document and
then run a macro containing the following code:

Dim Target As Document, Source As Document
Set Source = ActiveDocument
Set Target = Documents.Open(Options.DefaultFilePath(wdDocumentsPath) &
"\target.doc")
Target.Range.InsertAfter Source.Bookmarks("\page").Range
Target.Save
Target.Close

Then move to the page that you want to appear as Page 2 and run the macro
again.

Continue this process for each page.

When you have finished, the document named Target should contain the
original document with the pages re-arranged in the order that you want.

The page setup of the two documents (paper size, margins) will need to be
the same.

Please respond to the newsgroups for the benefit of others who may be
interested.

Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top