NUMBERING the pages

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

At Win XP "WORD", I had typed 27th pages already and will need the same
amount of pages still to go. From the star on I have forgotten to provide
NUMBERING the pages. How can I still do it, but from the start

Bob
Woodland Hills,Ca
 
Bob,

View>Header and Footer.
Position the cursor where you want the page numbering (center of footer, top
right corner, etc.)
Type PAGE then select it and press CTRL+F9
Right click {PAGE} and select Update fields.
All done.
 
Easier still, just click the Insert Page Number button on the Header and
Footer toolbar to insert the number. For a document as simple as I suspect
this is, you might find the Insert | Page Numbers... dialog more
satisfactory.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Is there a way in a large document to suppress a footer on some pages but
not others?

I transcribe medical documents. Some facilities want the entire day's work
in a single file (file name: 06-11ctr.doc). Within the document there are
many different patient reports. The first patient's report might be 3 pages
long (pages 1-3). The second patient's report might be 2 pages long (pages 4
and 5). The third patient's report might be 4 pages long (pages 6, 7, 8, and
9). And so forth.

When information travels to the next page, I am supposed to insert
"CONTINUED" at the bottom of the page. So far I have been doing this
manually, but I am hoping it can be done through a footer.

Using the above example document, is there a way to have the "CONTINUED"
appear in the footer of pages 1, 2 (first patient report), page 4 (second
patient report), and pages 6, 7, and 8) on the third patient report?

Thanks in advance for your assistance.
 
Bunny,


There is a way which involves Fields. You have to somehow mark the pages
that you want to display the footer.

An example is classified documents that have paragraphs markings (e.g, (C)
marks a paragraph as Classified). The paragraph marking can then serve as a
page marker for displaying a footer on any page that contains the (C)
marker.

Lets say that you could use (C) somewhere on the page as a page marker for
your continued pages.

The field code for the Footer would be:

{ IF { SEQ Contd \c} = { PAGE }"Continued"""}



The field code for creating the marker would be:



{ Quote (C) { SEQ Contd \r { PAGE } \h } }



Of course you don't want to have to type that field everytime you want to
mark a page so you can select it, Press ALT+F3 and name is as an AutoText
entry. Call it "contd"



Now you can mark any page to display the "Continued" footer by inserting the
autotext entry on that page.



If displaying a marker is a problem, the you can omit the Quote field and
just use:



{ SEQ Contd \r { PAGE } \h } this will result in your markers being hidden
when you display field results. To toggle back and forth between the hidden
results and the visible code, press ALT+F9



HTH
 
Yikes!!!!

I don't understand anything about fields and codes, and what you wrote is
hieroglyphics. Isn't there a simpler way?
 
This might be a simpler way, but it would have the page numbering re-start
from one for each patient.

From the View menu, select Header and Footer and move to the footer pane and
press tab twice to move the the right aligned tab and then create the
following field construction

{ IF { PAGE } < { SECTIONPAGES } "CONTINUED" "" }

You must use Ctrl+F9 to insert each pair of field codes. Use Alt+F9 to hide
the field codes.

Click on the Format page number button on the Headers and Footers toolbar
and select the Start at radio button and make sure that 1 is displayed in
the adjacent field.

To make this work, when you start the record for each new patient separate
it from the previous record by means of a Next Page Section Break that you
insert by selecting Break from the Insert menu.

It is possible to also have a continuous page number appear in the document,
but I won't confuse you with that unless you ask for it.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
I didn't mean to scare you away with the terms or code. It is actually a
fairly simple way once you apply it.

A field is nothing more than one of the many tools in Word that make it a so
versatile.

The solution I offered you uses four fields and some swithches. Admittingly
complicated as originally provided, but perhaps an explanation would help
clear the fog :-)

Lets take the fields one at a time.

Page Field (Inserts the page number)

Open a blank document and type PAGE. Select PAGE and press ALT+F9. You
have just created a page field. Press ALT+F9 and then F9. You have just
toggled the page field code to display the field result, or the page number.
Insert a page break (Insert>Break>Page). Your page field is now at the top
of page 2. Press F9 to update the field result.

Quote Field (inserts literal text)

Type: QUOTE "Literal Text" select it and press CTRL+F9, ALT+F9 then F9.
There you have it. A quote field just inserts the literal text.

SEQ field. Creates a numbered sequence.

Type: SEQ MySeq, select it, press CTRL+F9, ALT+F9 then F9. Select the "1"
that is displayed and paste it several times in the document. Press F9.
All the SEQ fields updated to thier respective sequence number in the
document.

IF Field. To create an IF,THEN,ELSE expression

Type: IF 1 = 1"True""False" Select the expression and press CTRL+F9,
ALT+F9 then F9. True is displayed. Toggle the field codes (ALT+F9) and
change 1 = 1 to 2 = 1 then press ALT+F9 then F9. False is displayed.

OK now you just have to put these fields to work with a few switches.

Lets now look at the marker field

{ Quote (C) { SEQ Contd \r { PAGE } \h } }

Here we have nested a PAGE field inside a SEQ field (sequenced is named
Contd) inside a QUOTE field(A riddle, wrapped in a mystery, inside an enigma
:-) ). As you have seen, QUOTE field returns literal text. In this field
we are using the \h switch in the SEQ field. The \h switch instructs Word
to hide (not display the results of the SEQ field). But what is the
sequence number that isn't displayed? Here is the keys to kingdom :-) The
\r switch instructs Word to reset the sequence number to the number
following the \r. The sequence number is same number as the { PAGE } page
number that the marker field is located on!

So any page that has a page marker field inserted is coded with a hidden
sequence number which equals that page number.

Now the Footer field:

{ IF { SEQ Contd \c} = { PAGE }"Continued"""}

You should understand by now that IF the SEQ number = Page number THEN
display "Continued" ELSE display "" (or nothing).

The \c switch in the SEQ field instructs the field to display the nearest
preceeding sequence number. You can test this out inserting a string of SEQ
fields and display the results e.g., 1 2 3 4 5
Then put a SEQ field in between the 2 and 3: 1 2 {SEQ Contd \c}
3 4 5
When the fields are updated, the display is: 1 2 2 3 4 5

In Word, the text in the main document is in a layer that "preceeds" all
text in the header and footer (I know it doesn't seem so on the displayed
page, but it does).

So the footer SEQ field is going to diplay the sequence number of the
nearest SEQ Contd field preceeding it. Let's assume that our document is
trying to determine IF "Continued" should be displayed on page 8. IF we
haven't inserted any page markers the { SEQ Contd \c} portion of the IF
field will return 0. So we would have IF 0 = 8"Continued""" and the result
of course is "".

If we have inserted a page marker on page 8 then IF 8 = 8"Continued""" and
the result is of course "Continued"

HTH
 
Back
Top