delete whole pages from doc

M

mopnodemopvo

i only want to save and use one page from a doc. how do i delete all the
other pages?
 
G

Greg Maxey

First you need to know that a "page" doesn't exist in a Word document until
that document is presented for display (either on the screen or on printed
paper). That presentation is determined by the printer driver and could
appear different on different PCs or the same PC using differnent drivers.
See: http://daiya.mvps.org/wordpages.htm

You could select the page you want to keep and run this macro:

Sub ScratchMacro()
Selection.Bookmarks("\Page").Range.Copy
ActiveDocument.Content.Delete
ActiveDocument.Range.Paste
End Sub
 
D

DeanH

Word doesnot "see" pages, only paginates as per default printer and page
break commands.
There are several ways of doing what you want, firstly save the document as
a new document (just in case), go to the start of page you want to keep,
Ctrl+Shft+Home, this will select all that is above your page, delete, goto
the end of the page your want to keep, Ctrl+Shft+End, to select the rest of
the document, delete, save.
Or you can use the GoTo function, have the cursor on the page you wish to
keep, GoTo (Ctrl+G), type \page in the Enter Page Numebr box, OK. This will
select all that is on this page, then you can copy/paste into new document.
For further infomation on "Word Doesn't Know What a Page Is" see:
http://daiya.mvps.org/wordpages.htm
Hope this helps
DeanH
 
J

Jan Groshan

or......just highlight the portion you want to keep, ctrl-C (copy) and
ctrl-v (paste) it onto a new document page.
 
D

DeanH

..... did not want to state the obvious ;-)
The OP did not seem to think that way.
Have a nice day.
 
R

Robert

Or......just highlight the portion you want to keep, and press Ctrl+X,
Ctrl+A, Del, Ctrl+V.
 
J

julie

Dear Robert,

It actually worked! This is the first time I was ever able to use the info
provided on these pages - what a great tip! Thank you so much, I thought
this would take me forever.

Julie
 

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