Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2004

Tip: Looking for answers? Try searching our database.

Delete second page in document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ginnalee - 13 Oct 2004 04:00 GMT
I have a Word document that contains a table and a header.  I only want
the first page, but I have a second page that contains only the header.
 How do I delete that second page so that I can save just the first
page? Thanks for any help you can give me.

Virginia
Jean-Guy Marcil - 13 Oct 2004 08:03 GMT
Bonjour,

Dans son message, < Ginnalee > ?crivait :
In this message, < Ginnalee > wrote:

> I have a Word document that contains a table and a header.  I only want
> the first page, but I have a second page that contains only the header.
>   How do I delete that second page so that I can save just the first
> page? Thanks for any help you can give me.

Click on "Show All", the "?" on the standard toolbar (Next to the Zoom).

This will display all "special" characters, like white spaces (light dots),
tabs (arrows), and paragraph returns (? which, IIRC, is called a pilcrow)
just to cite a few of them.

You will probably notice that you have a bunch of ? at the end of the
document (every time you hit Enter, one is added).
Go the ? immediately below the last text paragraph and hit delete until all
the superfluous ? are removed.

I always work with "Show All" on, this way I know exactly what is going on.
If you do not want those special characters displayed, click on ? again to
turn them off.

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org

Ginnalee - 13 Oct 2004 17:08 GMT
> Bonjour,
>
[quoted text clipped - 20 lines]
> If you do not want those special characters displayed, click on ¶ again to
> turn them off.

Thanks for the reply.  There is one of the special characters right
below the header on my second page.  Pressing the Delete key doesn't do
anything.  If I create a test page with a header and some text and then
press the Enter key until I get a second page with a header only, I can
delete just as you suggested and get rid of the second page.  I think I
may be stuck with that second page.  I guess I just have to remember to
print only 1 page if I need to print that document unless someone can
come up with another suggestion.

Virginia
Helmut Weber - 13 Oct 2004 20:23 GMT
Hi Ginnalee,
seems you are trapped by one of the oddities of word.
The paragraph mark, you can't get rid of, is the not an
ordinary paragraph, but the end-of-doc mark.
If the table fills, e.g., the first page almost entirely,
word must add a second page, to create space for the
end-of-doc mark. Sometimes, setting the line spacing
for this last paragraph, to, let's say, 1 point,
can help.
---
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/



>> Bonjour,
>>
[quoted text clipped - 31 lines]
>
>Virginia
Ginnalee - 14 Oct 2004 00:38 GMT
I'll be darned.  That did it.  You've made my day!

Virginia

> Hi Ginnalee,
> seems you are trapped by one of the oddities of word.
[quoted text clipped - 6 lines]
> can help.
> ---

>>>Bonjour,
>>>
[quoted text clipped - 31 lines]
>>
>>Virginia
Chip Orange - 08 Nov 2004 15:56 GMT
What about positioning the cursor in the second page, and using the hidden
bookmark \page to delete the entire page?  Something like:

ActiveDocument.bookmarks("\page").range.delete

Would that work?

Chip
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.