Welcome to Windows Help!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Trouble with text from file and headers

 
   Windows Help (Home) -> Microsoft Word RSS
Next:  Smartart  
Author Message
Darrell D

External


Since: Aug 6, 2009
Posts: 2



(Msg. 1) Posted: Thu Aug 06, 2009 12:11 pm
Post subject: Trouble with text from file and headers
Archived from groups: microsoft>public>word>docmanagement (more info?)

Hi,
I am attempting to combine a large quantity of seperate files into one. I
have no trouble with merging the files but am having trouble with the
headers. Each file has a header with a table including content specific to
that file. This table includes two cells that give the "page 1" and the other
"of ?".
After creating a new section and adding the new text, the "of ?" cell in the
header in the previous section, now includes the total pages in the document
not just for that section. So instead of 1 of 1 for the first section it may
state 1 of 5.
Is there a way to get the headers to only include their original number of
pages?
Thanks,

 >> Stay informed about: Trouble with text from file and headers 
Back to top
Login to vote
Pesach Shelnitz

External


Since: Jul 6, 2009
Posts: 11



(Msg. 2) Posted: Thu Aug 06, 2009 12:57 pm
Post subject: RE: Trouble with text from file and headers
Archived from groups: per prev. post (more info?)

Hi Darrel,

If your headers uses NUMPAGES fields to indicate the total number of pages,
you can create a bookmark at the end of each section and change the NUMPAGES
field in the header for each section to a PAGEREF BookmarkName field.

Write back if you need more detailed instructions.

 >> Stay informed about: Trouble with text from file and headers 
Back to top
Login to vote
Darrell D

External


Since: Aug 6, 2009
Posts: 2



(Msg. 3) Posted: Thu Aug 06, 2009 1:06 pm
Post subject: RE: Trouble with text from file and headers
Archived from groups: per prev. post (more info?)

Pesach,
I figured out how to see the field codes and unfortunately the templates I
am using have the code, { NUMPAGES \* MERGEFORMAT }, in the "page of" cell. I
am not sure what that code does.
It appears I will have to replace them with a SECTIONPAGE or the PAGEREF to
get it to work right. Unless you have a better idea.

Thanks,

"Pesach Shelnitz" wrote:

> Hi Darrel,
>
> If your headers uses NUMPAGES fields to indicate the total number of pages,
> you can create a bookmark at the end of each section and change the NUMPAGES
> field in the header for each section to a PAGEREF BookmarkName field.
>
> Write back if you need more detailed instructions.
>
> --
> Hope this helps,
> Pesach Shelnitz
>
>
> "Darrell D" wrote:
>
> > Hi,
> > I am attempting to combine a large quantity of seperate files into one. I
> > have no trouble with merging the files but am having trouble with the
> > headers. Each file has a header with a table including content specific to
> > that file. This table includes two cells that give the "page 1" and the other
> > "of ?".
> > After creating a new section and adding the new text, the "of ?" cell in the
> > header in the previous section, now includes the total pages in the document
> > not just for that section. So instead of 1 of 1 for the first section it may
> > state 1 of 5.
> > Is there a way to get the headers to only include their original number of
> > pages?
> > Thanks,
 >> Stay informed about: Trouble with text from file and headers 
Back to top
Login to vote
Pesach Shelnitz

External


Since: Jul 6, 2009
Posts: 11



(Msg. 4) Posted: Fri Aug 07, 2009 1:11 am
Post subject: RE: Trouble with text from file and headers
Archived from groups: per prev. post (more info?)

Hi Darrell,

You're half-way there. Since you revealed the codes, all you need to do is
create a bookmark at the end of each section, and in the header for each
section replace NUMPAGES by PAGEREF and the bookmark name. For example, if
you create a bookmark in section 1 called EndSec1, the field code would be {
PAGEREF EndSec1 \* MERGEFORMAT } after the change.

Also, if you want the page number to be the page number within the section,
change PAGE to SECTIONPAGE in the PAGE field codes.
 >> Stay informed about: Trouble with text from file and headers 
Back to top
Login to vote
Suzanne S. Barnhill

External


Since: Nov 24, 2008
Posts: 164



(Msg. 5) Posted: Fri Aug 07, 2009 7:55 am
Post subject: Re: Trouble with text from file and headers
Archived from groups: per prev. post (more info?)

The PAGE field always reports the current page number; if numbering is
restarted in each section, then PAGE is the field needed for the page number
within that section. Alas, there is no SECTIONPAGE field, only SECTIONPAGES,
which corresponds to NUMPAGES for the entire document.

It would appear that Darrell currently has a Page X of Y that is Page {
PAGE } of { NUMPAGES }. If numbering is restarted at 1 in each section, then
Page { PAGE } of { SECTIONPAGES } will provide the original pagination, but
if "whole numbers" are *also* required, then NUMPAGES can be used for the Y,
but a PAGEREF will be needed for the page number within the entire document
because PAGE will report the (restarted) number of the page within a given
section.
 >> Stay informed about: Trouble with text from file and headers 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Using StyleRef for Headers - I am trying to use StyleRef to automatically insert chapter subheadings in the Header. On every even page, the header is the Chapter name and title. On every odd page, a StyleRef field prints the name of the subsection within the chapter. This works..

Copying web text into Word file - When I highlight copy from a web page and copy it into a Word document, "Article I", "Article II", etc. appears before each heading (in the new Word doc). How do I prevent this? How do I remove it if it keeps happening?

columns trouble - When I apply columns, it applies columns to the selected text and inserts a new page. (Word 2003). Please helpĀ” :((

Trouble removing language settings - Arabic to English - I am trying to reformat a document that was originally created in Arabic. I need to add line numbers and a footer with page numbers (Page X of X). The line numbers are appearing in the right margin rather than the left, and the page numbers are typing...

Trouble creating viewable background image in Word 2004 fo.. - I have a jpg through photoshop that is sized to 8.5" x 11" @72 dpi, and am trying to insert as a background image. When I do so, it is switching me to the Normal view, instead of the page layout view, and also tiling my image. When I switch ...
   Windows Help (Home) -> Microsoft Word All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]