Deleting a page

D

danna

Have you tried to highlight the text you want to delete,
then hit delete? Then clear out any extra lines so that
there is no extra blank page.

If you want to know what command you have, find the
paragraph symbol in your toolbar and click on it. It will
make all your commands, such as enter, tab, etc. show on
your screen (not on your printed document). That makes it
alot easier to edit a document.
 
S

sheryl

-----Original Message-----
How do I delete a whole page in a word doc?
.
one way to delete a page, is hilite everything on the
page, hit delete, then delete the page break.
 
G

Graham Mayor

A page is an entirely transient thing in Word that depends on a number of
factors concerned with the page layout and content. You can use a macro to
delete the content of the current page, but this will cause the text to
reflow and the results are unpredictable because they take no account of the
rest of the document - however, you can try the code to see if it does what
you require:

SubPageDelete()
ActiveDocument.Bookmarks("\page").Range.Delete
End Sub

or

Sub PageDelete()
sNumber = InputBox("Delete from which page", "Delete Pages", 1)
sRange = InputBox("Delete how many pages", "Delete Pages", 1)
Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:=sNumber
For a = 1 To sRange
ActiveDocument.Bookmarks("\page").Range.Delete
Next a
End Sub

See http://www.gmayor.dsl.pipex.com/installing_macro.htm

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

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