Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
Blue Max Blue Max is offline
external usenet poster
 
Posts: 43
Default How to insert page number X of Y ?

We want a footer that includes "Page X of Y" where X equals the page number
and Y equals total pages. The problem, however, is that our footers often
already exists and includes a fair amount of custom design work. In our
experience, selecting a page number from the gallery with the proper format,
replaces the existing footer.

Therefore, how does one simply insert the codes for 'current page' and
'total pages' into the existing text of the footer in order to preserve the
current design?

  #2   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default How to insert page number X of Y ?

Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the page
number and Y equals total pages. The problem, however, is that our
footers often already exists and includes a fair amount of custom
design work. In our experience, selecting a page number from the
gallery with the proper format, replaces the existing footer.

Therefore, how does one simply insert the codes for 'current page' and
'total pages' into the existing text of the footer in order to
preserve the current design?


On the Insert Page Number button, choose the Current Position item instead
of the Bottom of Page item, and choose the Page X of Y entry from that
gallery. It will probably also insert a paragraph mark formatted with Normal
style, which you'll have to delete so the remaining paragraph mark is
formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry from the text
of the Page X of Y entry, without its paragraph mark, and insert that when
needed instead of using the Page Number button.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


  #3   Report Post  
Posted to microsoft.public.word.newusers
Blue Max Blue Max is offline
external usenet poster
 
Posts: 43
Default How to insert page number X of Y ?

Thank you for the explanation, Jay. Your last paragraph intrigues me, but
you also lost me. Is it possible you are saying we can simply insert the
codes for current page and total pages somehow? Could you explain a little
further how we do what you are describing in the last paragraph addressing a
'better solution'?

Other programs allow you to type in the text and simply insert the automated
codes, where needed, one at a time. Not sure why it seems to be so
difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the page
number and Y equals total pages. The problem, however, is that our
footers often already exists and includes a fair amount of custom
design work. In our experience, selecting a page number from the
gallery with the proper format, replaces the existing footer.

Therefore, how does one simply insert the codes for 'current page' and
'total pages' into the existing text of the footer in order to
preserve the current design?


On the Insert Page Number button, choose the Current Position item
instead of the Bottom of Page item, and choose the Page X of Y entry from
that gallery. It will probably also insert a paragraph mark formatted with
Normal style, which you'll have to delete so the remaining paragraph mark
is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry from the
text of the Page X of Y entry, without its paragraph mark, and insert that
when needed instead of using the Page Number button.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all may benefit.


  #4   Report Post  
Posted to microsoft.public.word.newusers
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default How to insert page number X of Y ?

You can insert any field by pressing Ctrl+F9 to insert the field braces and
then typing the field name between them. In this case the relevant fields
are PAGE and NUMPAGES.

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

"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues me, but
you also lost me. Is it possible you are saying we can simply insert the
codes for current page and total pages somehow? Could you explain a
little further how we do what you are describing in the last paragraph
addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it seems to be
so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the page
number and Y equals total pages. The problem, however, is that our
footers often already exists and includes a fair amount of custom
design work. In our experience, selecting a page number from the
gallery with the proper format, replaces the existing footer.

Therefore, how does one simply insert the codes for 'current page' and
'total pages' into the existing text of the footer in order to
preserve the current design?


On the Insert Page Number button, choose the Current Position item
instead of the Bottom of Page item, and choose the Page X of Y entry from
that gallery. It will probably also insert a paragraph mark formatted
with Normal style, which you'll have to delete so the remaining paragraph
mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry from the
text of the Page X of Y entry, without its paragraph mark, and insert
that when needed instead of using the Page Number button.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all may benefit.




  #5   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default How to insert page number X of Y ?

Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time you want
them. Being lazy, though, I would prefer to package the entire "Page {PAGE}
of {NUMPAGES}" construct into an AutoCorrect entry so it takes only a few
keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9 to create
the field braces, and select all of it. Go to Office button Word Options
Proofing AutoCorrect Options. In the dialog that opens, the selected text
will be in the box on the right labeled "With". In the box to its left
labeled "Replace", type an abbreviation that you aren't likely to type for
any other reason -- for example, pxy -- and click the Add button.

Now, any time you type that abbreviation followed by a space or punctuation,
it will automatically be replaced by the Page X of Y expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm. Although the
article was written for Word 2003 and earlier, the only thing that's
different about it in Word 2007 is the path to the AutoCorrect Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow? Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair amount
of custom design work. In our experience, selecting a page number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for 'current
page'
and 'total pages' into the existing text of the footer in order to
preserve the current design?

On the Insert Page Number button, choose the Current Position item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry from
the text of the Page X of Y entry, without its paragraph mark, and
insert that when needed instead of using the Page Number button.





  #6   Report Post  
Posted to microsoft.public.word.newusers
Blue Max Blue Max is offline
external usenet poster
 
Posts: 43
Default How to insert page number X of Y ?

Thank you Suzanne, this is wonderful! In fact, it opens up a whole new set
of options we enjoyed in other applications, but did not know how to do in
Word. However, this begs one more question: Where do we find a listing of
all the codes that can be inserted into word in this fashion?

Thank you very much,
Richard

*******************
"Suzanne S. Barnhill" wrote in message
...
You can insert any field by pressing Ctrl+F9 to insert the field braces
and then typing the field name between them. In this case the relevant
fields are PAGE and NUMPAGES.

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

"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues me,
but you also lost me. Is it possible you are saying we can simply insert
the codes for current page and total pages somehow? Could you explain a
little further how we do what you are describing in the last paragraph
addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it seems to
be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the page
number and Y equals total pages. The problem, however, is that our
footers often already exists and includes a fair amount of custom
design work. In our experience, selecting a page number from the
gallery with the proper format, replaces the existing footer.

Therefore, how does one simply insert the codes for 'current page' and
'total pages' into the existing text of the footer in order to
preserve the current design?

On the Insert Page Number button, choose the Current Position item
instead of the Bottom of Page item, and choose the Page X of Y entry
from that gallery. It will probably also insert a paragraph mark
formatted with Normal style, which you'll have to delete so the
remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry from the
text of the Page X of Y entry, without its paragraph mark, and insert
that when needed instead of using the Page Number button.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.





  #7   Report Post  
Posted to microsoft.public.word.newusers
Blue Max Blue Max is offline
external usenet poster
 
Posts: 43
Default How to insert page number X of Y ?

Thank you, Jay. I really appreciate your insights, along with those of
Suzanne. Your reply takes the automation one step further, which we
appreciate greatly. This aspect also opens up some great possibilities for
codes that we were not aware of until now.

Thank you very much,
Richard

*************
"Jay Freedman" wrote in message
...
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time you want
them. Being lazy, though, I would prefer to package the entire "Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it takes only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9 to
create the field braces, and select all of it. Go to Office button Word
Options Proofing AutoCorrect Options. In the dialog that opens, the
selected text will be in the box on the right labeled "With". In the box
to its left labeled "Replace", type an abbreviation that you aren't likely
to type for any other reason -- for example, pxy -- and click the Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm. Although the
article was written for Word 2003 and earlier, the only thing that's
different about it in Word 2007 is the path to the AutoCorrect Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow? Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair amount
of custom design work. In our experience, selecting a page number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for 'current
page'
and 'total pages' into the existing text of the footer in order to
preserve the current design?

On the Insert Page Number button, choose the Current Position item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry from
the text of the Page X of Y entry, without its paragraph mark, and
insert that when needed instead of using the Page Number button.




  #8   Report Post  
Posted to microsoft.public.word.newusers
Blue Max Blue Max is offline
external usenet poster
 
Posts: 43
Default How to insert page number X of Y ?

Forgive me Jay, but a few more questions just occured to me. FIRST, are any
of these standard codes available from the toolbars or menu system in Word
2007? There is something vaguely familiar about these codes, as if I have
seen them elsewhere in the menus. SECOND, as I asked Suzanne, where might
we find a listing of these codes. THIRD, are these codes part of a larger
set of codes, such as data 'merge' codes or 'Visual Basic' codes?

Thanks,
Richard

"Jay Freedman" wrote in message
...
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time you want
them. Being lazy, though, I would prefer to package the entire "Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it takes only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9 to
create the field braces, and select all of it. Go to Office button Word
Options Proofing AutoCorrect Options. In the dialog that opens, the
selected text will be in the box on the right labeled "With". In the box
to its left labeled "Replace", type an abbreviation that you aren't likely
to type for any other reason -- for example, pxy -- and click the Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm. Although the
article was written for Word 2003 and earlier, the only thing that's
different about it in Word 2007 is the path to the AutoCorrect Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow? Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair amount
of custom design work. In our experience, selecting a page number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for 'current
page'
and 'total pages' into the existing text of the footer in order to
preserve the current design?

On the Insert Page Number button, choose the Current Position item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry from
the text of the Page X of Y entry, without its paragraph mark, and
insert that when needed instead of using the Page Number button.




  #9   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default How to insert page number X of Y ?

Hi Richard,

To answer your first question, the field codes aren't visible on toolbars or
menus in any version of Word, but they can be seen in the Insert Field dialog
(in Word 2007, Insert Quick Parts Field) if you click the Field Codes button
in the lower left corner of the dialog. Other than that, you'd see them only if
you toggled from field results to field codes with Alt+F9 (or Shift+F9 for a
single field).

The place to find a list of all field types is in the Insert Field dialog that I
just mentioned. Unfortunately, the Help topics that explain the purpose and
syntax of specific fields are fairly spotty in Word 2007, and what is there is
poorly indexed and hard to find. A better resource is to use Office Online,
which contains the Word 2003 help topics on fields starting at
http://office.microsoft.com/en-us/wo...047231033.aspx.

The list of fields should answer the part of your third question about whether
they're part of a larger set: 'merge' codes are simply a subset of field codes.
Visual Basic for Applications (VBA), however, is an entirely different and much
larger topic. Start with
http://word.mvps.org/FAQs/MacrosVBA/...csIn15Mins.htm and
http://word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm. If you want to pursue
this further, start reading the other articles on the MacrosVBA section of the
site, and post questions in microsoft.public.word.vba.beginners.

On Sat, 22 Nov 2008 11:40:36 -0700, "Blue Max" wrote:

Forgive me Jay, but a few more questions just occured to me. FIRST, are any
of these standard codes available from the toolbars or menu system in Word
2007? There is something vaguely familiar about these codes, as if I have
seen them elsewhere in the menus. SECOND, as I asked Suzanne, where might
we find a listing of these codes. THIRD, are these codes part of a larger
set of codes, such as data 'merge' codes or 'Visual Basic' codes?

Thanks,
Richard

"Jay Freedman" wrote in message
...
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time you want
them. Being lazy, though, I would prefer to package the entire "Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it takes only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9 to
create the field braces, and select all of it. Go to Office button Word
Options Proofing AutoCorrect Options. In the dialog that opens, the
selected text will be in the box on the right labeled "With". In the box
to its left labeled "Replace", type an abbreviation that you aren't likely
to type for any other reason -- for example, pxy -- and click the Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm. Although the
article was written for Word 2003 and earlier, the only thing that's
different about it in Word 2007 is the path to the AutoCorrect Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow? Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair amount
of custom design work. In our experience, selecting a page number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for 'current
page'
and 'total pages' into the existing text of the footer in order to
preserve the current design?

On the Insert Page Number button, choose the Current Position item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry from
the text of the Page X of Y entry, without its paragraph mark, and
insert that when needed instead of using the Page Number button.



  #10   Report Post  
Posted to microsoft.public.word.newusers
Blue Max Blue Max is offline
external usenet poster
 
Posts: 43
Default How to insert page number X of Y ?

Thank you again Jay. I profoundly appreciate your insight into this area.
We are slowly transitioning from another wordprocessor and have struggled to
find the automated equivalents in Microsoft Word. The field listings under
'Quick Parts' is exactly what we were looking for and is, most certainly,
where we must have seen these codes before in some sample online
illustration.

I don't know about others, but we often struggle with the 'Help' feature in
Microsoft Office. Perhaps, it's a function of our unfamiliarity with
Microsoft terms or definitions, but it can oft times be very frustrating to
find help on certain, even basic, subjects.

Thank you again,
Richard

***************************
"Jay Freedman" wrote in message
news
Hi Richard,

To answer your first question, the field codes aren't visible on toolbars
or
menus in any version of Word, but they can be seen in the Insert Field
dialog
(in Word 2007, Insert Quick Parts Field) if you click the Field Codes
button
in the lower left corner of the dialog. Other than that, you'd see them
only if
you toggled from field results to field codes with Alt+F9 (or Shift+F9 for
a
single field).

The place to find a list of all field types is in the Insert Field dialog
that I
just mentioned. Unfortunately, the Help topics that explain the purpose
and
syntax of specific fields are fairly spotty in Word 2007, and what is
there is
poorly indexed and hard to find. A better resource is to use Office
Online,
which contains the Word 2003 help topics on fields starting at
http://office.microsoft.com/en-us/wo...047231033.aspx.

The list of fields should answer the part of your third question about
whether
they're part of a larger set: 'merge' codes are simply a subset of field
codes.
Visual Basic for Applications (VBA), however, is an entirely different and
much
larger topic. Start with
http://word.mvps.org/FAQs/MacrosVBA/...csIn15Mins.htm and
http://word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm. If you want to
pursue
this further, start reading the other articles on the MacrosVBA section of
the
site, and post questions in microsoft.public.word.vba.beginners.

On Sat, 22 Nov 2008 11:40:36 -0700, "Blue Max"
wrote:

Forgive me Jay, but a few more questions just occured to me. FIRST, are
any
of these standard codes available from the toolbars or menu system in Word
2007? There is something vaguely familiar about these codes, as if I have
seen them elsewhere in the menus. SECOND, as I asked Suzanne, where might
we find a listing of these codes. THIRD, are these codes part of a larger
set of codes, such as data 'merge' codes or 'Visual Basic' codes?

Thanks,
Richard

"Jay Freedman" wrote in message
.. .
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time you
want
them. Being lazy, though, I would prefer to package the entire "Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it takes
only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9 to
create the field braces, and select all of it. Go to Office button
Word
Options Proofing AutoCorrect Options. In the dialog that opens, the
selected text will be in the box on the right labeled "With". In the box
to its left labeled "Replace", type an abbreviation that you aren't
likely
to type for any other reason -- for example, pxy -- and click the Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm. Although
the
article was written for Word 2003 and earlier, the only thing that's
different about it in Word 2007 is the path to the AutoCorrect Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow?
Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair amount
of custom design work. In our experience, selecting a page number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for 'current
page'
and 'total pages' into the existing text of the footer in order to
preserve the current design?

On the Insert Page Number button, choose the Current Position item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry from
the text of the Page X of Y entry, without its paragraph mark, and
insert that when needed instead of using the Page Number button.






  #11   Report Post  
Posted to microsoft.public.word.newusers
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default How to insert page number X of Y ?

The Help in Word 2007, though slowly improvely, is still pretty hopeless.
The Word 2003 Help topics on field codes can be found starting at
http://office.microsoft.com/en-us/wo...033.aspx?stt=1

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

"Blue Max" wrote in message
...
Thank you again Jay. I profoundly appreciate your insight into this area.
We are slowly transitioning from another wordprocessor and have struggled
to find the automated equivalents in Microsoft Word. The field listings
under 'Quick Parts' is exactly what we were looking for and is, most
certainly, where we must have seen these codes before in some sample
online illustration.

I don't know about others, but we often struggle with the 'Help' feature
in Microsoft Office. Perhaps, it's a function of our unfamiliarity with
Microsoft terms or definitions, but it can oft times be very frustrating
to find help on certain, even basic, subjects.

Thank you again,
Richard

***************************
"Jay Freedman" wrote in message
news
Hi Richard,

To answer your first question, the field codes aren't visible on toolbars
or
menus in any version of Word, but they can be seen in the Insert Field
dialog
(in Word 2007, Insert Quick Parts Field) if you click the Field Codes
button
in the lower left corner of the dialog. Other than that, you'd see them
only if
you toggled from field results to field codes with Alt+F9 (or Shift+F9
for a
single field).

The place to find a list of all field types is in the Insert Field dialog
that I
just mentioned. Unfortunately, the Help topics that explain the purpose
and
syntax of specific fields are fairly spotty in Word 2007, and what is
there is
poorly indexed and hard to find. A better resource is to use Office
Online,
which contains the Word 2003 help topics on fields starting at
http://office.microsoft.com/en-us/wo...047231033.aspx.

The list of fields should answer the part of your third question about
whether
they're part of a larger set: 'merge' codes are simply a subset of field
codes.
Visual Basic for Applications (VBA), however, is an entirely different
and much
larger topic. Start with
http://word.mvps.org/FAQs/MacrosVBA/...csIn15Mins.htm and
http://word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm. If you want to
pursue
this further, start reading the other articles on the MacrosVBA section
of the
site, and post questions in microsoft.public.word.vba.beginners.

On Sat, 22 Nov 2008 11:40:36 -0700, "Blue Max"
wrote:

Forgive me Jay, but a few more questions just occured to me. FIRST, are
any
of these standard codes available from the toolbars or menu system in
Word
2007? There is something vaguely familiar about these codes, as if I
have
seen them elsewhere in the menus. SECOND, as I asked Suzanne, where
might
we find a listing of these codes. THIRD, are these codes part of a
larger
set of codes, such as data 'merge' codes or 'Visual Basic' codes?

Thanks,
Richard

"Jay Freedman" wrote in message
. ..
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time you
want
them. Being lazy, though, I would prefer to package the entire "Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it takes
only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9 to
create the field braces, and select all of it. Go to Office button
Word
Options Proofing AutoCorrect Options. In the dialog that opens, the
selected text will be in the box on the right labeled "With". In the
box
to its left labeled "Replace", type an abbreviation that you aren't
likely
to type for any other reason -- for example, pxy -- and click the Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm. Although
the
article was written for Word 2003 and earlier, the only thing that's
different about it in Word 2007 is the path to the AutoCorrect Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow?
Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair amount
of custom design work. In our experience, selecting a page number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for
'current
page'
and 'total pages' into the existing text of the footer in order to
preserve the current design?

On the Insert Page Number button, choose the Current Position item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry from
the text of the Page X of Y entry, without its paragraph mark, and
insert that when needed instead of using the Page Number button.







  #12   Report Post  
Posted to microsoft.public.word.newusers
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default How to insert page number X of Y ?

Well, that should be "slowly improving." A recent update is available for
Word 2007 Help (also for Excel and other Office apps). Presumably this
installs some of the Help topics previously available only online, but it
doesn't increase the total number of Help topics available--just makes more
of them available offline.

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

"Suzanne S. Barnhill" wrote in message
...
The Help in Word 2007, though slowly improvely, is still pretty hopeless.
The Word 2003 Help topics on field codes can be found starting at
http://office.microsoft.com/en-us/wo...033.aspx?stt=1

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

"Blue Max" wrote in message
...
Thank you again Jay. I profoundly appreciate your insight into this
area. We are slowly transitioning from another wordprocessor and have
struggled to find the automated equivalents in Microsoft Word. The field
listings under 'Quick Parts' is exactly what we were looking for and is,
most certainly, where we must have seen these codes before in some sample
online illustration.

I don't know about others, but we often struggle with the 'Help' feature
in Microsoft Office. Perhaps, it's a function of our unfamiliarity with
Microsoft terms or definitions, but it can oft times be very frustrating
to find help on certain, even basic, subjects.

Thank you again,
Richard

***************************
"Jay Freedman" wrote in message
news
Hi Richard,

To answer your first question, the field codes aren't visible on
toolbars or
menus in any version of Word, but they can be seen in the Insert Field
dialog
(in Word 2007, Insert Quick Parts Field) if you click the Field
Codes button
in the lower left corner of the dialog. Other than that, you'd see them
only if
you toggled from field results to field codes with Alt+F9 (or Shift+F9
for a
single field).

The place to find a list of all field types is in the Insert Field
dialog that I
just mentioned. Unfortunately, the Help topics that explain the purpose
and
syntax of specific fields are fairly spotty in Word 2007, and what is
there is
poorly indexed and hard to find. A better resource is to use Office
Online,
which contains the Word 2003 help topics on fields starting at
http://office.microsoft.com/en-us/wo...047231033.aspx.

The list of fields should answer the part of your third question about
whether
they're part of a larger set: 'merge' codes are simply a subset of field
codes.
Visual Basic for Applications (VBA), however, is an entirely different
and much
larger topic. Start with
http://word.mvps.org/FAQs/MacrosVBA/...csIn15Mins.htm and
http://word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm. If you want to
pursue
this further, start reading the other articles on the MacrosVBA section
of the
site, and post questions in microsoft.public.word.vba.beginners.

On Sat, 22 Nov 2008 11:40:36 -0700, "Blue Max"
wrote:

Forgive me Jay, but a few more questions just occured to me. FIRST, are
any
of these standard codes available from the toolbars or menu system in
Word
2007? There is something vaguely familiar about these codes, as if I
have
seen them elsewhere in the menus. SECOND, as I asked Suzanne, where
might
we find a listing of these codes. THIRD, are these codes part of a
larger
set of codes, such as data 'merge' codes or 'Visual Basic' codes?

Thanks,
Richard

"Jay Freedman" wrote in message
.. .
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time you
want
them. Being lazy, though, I would prefer to package the entire "Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it takes
only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9 to
create the field braces, and select all of it. Go to Office button
Word
Options Proofing AutoCorrect Options. In the dialog that opens,
the
selected text will be in the box on the right labeled "With". In the
box
to its left labeled "Replace", type an abbreviation that you aren't
likely
to type for any other reason -- for example, pxy -- and click the Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm. Although
the
article was written for Word 2003 and earlier, the only thing that's
different about it in Word 2007 is the path to the AutoCorrect Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow?
Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair amount
of custom design work. In our experience, selecting a page number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for
'current
page'
and 'total pages' into the existing text of the footer in order to
preserve the current design?

On the Insert Page Number button, choose the Current Position
item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry from
the text of the Page X of Y entry, without its paragraph mark, and
insert that when needed instead of using the Page Number button.









  #13   Report Post  
Posted to microsoft.public.word.newusers
Blue Max Blue Max is offline
external usenet poster
 
Posts: 43
Default How to insert page number X of Y ?

Thank you Suzanne, you have been very helpful. I will review the links you
have provided. Meanwhile, it is nice to know that we are not the only ones
who have struggled with the help engine. We simply can't innumerate how
many times, to our amazement, that we have performed a simple search, often
using a very common term, where the search results have produced a ton of
garbage (no solid hits, even at the top of the list).

Thanks,
Richard

***************
"Suzanne S. Barnhill" wrote in message
...
Well, that should be "slowly improving." A recent update is available for
Word 2007 Help (also for Excel and other Office apps). Presumably this
installs some of the Help topics previously available only online, but it
doesn't increase the total number of Help topics available--just makes
more of them available offline.

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

"Suzanne S. Barnhill" wrote in message
...
The Help in Word 2007, though slowly improvely, is still pretty hopeless.
The Word 2003 Help topics on field codes can be found starting at
http://office.microsoft.com/en-us/wo...033.aspx?stt=1

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

"Blue Max" wrote in message
...
Thank you again Jay. I profoundly appreciate your insight into this
area. We are slowly transitioning from another wordprocessor and have
struggled to find the automated equivalents in Microsoft Word. The
field listings under 'Quick Parts' is exactly what we were looking for
and is, most certainly, where we must have seen these codes before in
some sample online illustration.

I don't know about others, but we often struggle with the 'Help' feature
in Microsoft Office. Perhaps, it's a function of our unfamiliarity with
Microsoft terms or definitions, but it can oft times be very frustrating
to find help on certain, even basic, subjects.

Thank you again,
Richard

***************************
"Jay Freedman" wrote in message
news Hi Richard,

To answer your first question, the field codes aren't visible on
toolbars or
menus in any version of Word, but they can be seen in the Insert Field
dialog
(in Word 2007, Insert Quick Parts Field) if you click the Field
Codes button
in the lower left corner of the dialog. Other than that, you'd see them
only if
you toggled from field results to field codes with Alt+F9 (or Shift+F9
for a
single field).

The place to find a list of all field types is in the Insert Field
dialog that I
just mentioned. Unfortunately, the Help topics that explain the purpose
and
syntax of specific fields are fairly spotty in Word 2007, and what is
there is
poorly indexed and hard to find. A better resource is to use Office
Online,
which contains the Word 2003 help topics on fields starting at
http://office.microsoft.com/en-us/wo...047231033.aspx.

The list of fields should answer the part of your third question about
whether
they're part of a larger set: 'merge' codes are simply a subset of
field codes.
Visual Basic for Applications (VBA), however, is an entirely different
and much
larger topic. Start with
http://word.mvps.org/FAQs/MacrosVBA/...csIn15Mins.htm and
http://word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm. If you want to
pursue
this further, start reading the other articles on the MacrosVBA section
of the
site, and post questions in microsoft.public.word.vba.beginners.

On Sat, 22 Nov 2008 11:40:36 -0700, "Blue Max"
wrote:

Forgive me Jay, but a few more questions just occured to me. FIRST,
are any
of these standard codes available from the toolbars or menu system in
Word
2007? There is something vaguely familiar about these codes, as if I
have
seen them elsewhere in the menus. SECOND, as I asked Suzanne, where
might
we find a listing of these codes. THIRD, are these codes part of a
larger
set of codes, such as data 'merge' codes or 'Visual Basic' codes?

Thanks,
Richard

"Jay Freedman" wrote in message
. ..
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time you
want
them. Being lazy, though, I would prefer to package the entire "Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it takes
only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9 to
create the field braces, and select all of it. Go to Office button
Word
Options Proofing AutoCorrect Options. In the dialog that opens,
the
selected text will be in the box on the right labeled "With". In the
box
to its left labeled "Replace", type an abbreviation that you aren't
likely
to type for any other reason -- for example, pxy -- and click the Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm. Although
the
article was written for Word 2003 and earlier, the only thing that's
different about it in Word 2007 is the path to the AutoCorrect
Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow?
Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it
seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair amount
of custom design work. In our experience, selecting a page
number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for
'current
page'
and 'total pages' into the existing text of the footer in order
to
preserve the current design?

On the Insert Page Number button, choose the Current Position
item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry
from
the text of the Page X of Y entry, without its paragraph mark, and
insert that when needed instead of using the Page Number button.










  #14   Report Post  
Posted to microsoft.public.word.newusers
Blue Max Blue Max is offline
external usenet poster
 
Posts: 43
Default How to insert page number X of Y ?

Sorry, Suzanne, but I did have one other question. Are the French brackets
"{}" that enclose the fieldname codes a special character also, or can we
simply use the keyboard characters (usually available above the shifted
square brackets "[ ]") ?

Thanks,
Richard

*********************
"Suzanne S. Barnhill" wrote in message
...
Well, that should be "slowly improving." A recent update is available for
Word 2007 Help (also for Excel and other Office apps). Presumably this
installs some of the Help topics previously available only online, but it
doesn't increase the total number of Help topics available--just makes
more of them available offline.

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

"Suzanne S. Barnhill" wrote in message
...
The Help in Word 2007, though slowly improvely, is still pretty hopeless.
The Word 2003 Help topics on field codes can be found starting at
http://office.microsoft.com/en-us/wo...033.aspx?stt=1

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

"Blue Max" wrote in message
...
Thank you again Jay. I profoundly appreciate your insight into this
area. We are slowly transitioning from another wordprocessor and have
struggled to find the automated equivalents in Microsoft Word. The
field listings under 'Quick Parts' is exactly what we were looking for
and is, most certainly, where we must have seen these codes before in
some sample online illustration.

I don't know about others, but we often struggle with the 'Help' feature
in Microsoft Office. Perhaps, it's a function of our unfamiliarity with
Microsoft terms or definitions, but it can oft times be very frustrating
to find help on certain, even basic, subjects.

Thank you again,
Richard

***************************
"Jay Freedman" wrote in message
news Hi Richard,

To answer your first question, the field codes aren't visible on
toolbars or
menus in any version of Word, but they can be seen in the Insert Field
dialog
(in Word 2007, Insert Quick Parts Field) if you click the Field
Codes button
in the lower left corner of the dialog. Other than that, you'd see them
only if
you toggled from field results to field codes with Alt+F9 (or Shift+F9
for a
single field).

The place to find a list of all field types is in the Insert Field
dialog that I
just mentioned. Unfortunately, the Help topics that explain the purpose
and
syntax of specific fields are fairly spotty in Word 2007, and what is
there is
poorly indexed and hard to find. A better resource is to use Office
Online,
which contains the Word 2003 help topics on fields starting at
http://office.microsoft.com/en-us/wo...047231033.aspx.

The list of fields should answer the part of your third question about
whether
they're part of a larger set: 'merge' codes are simply a subset of
field codes.
Visual Basic for Applications (VBA), however, is an entirely different
and much
larger topic. Start with
http://word.mvps.org/FAQs/MacrosVBA/...csIn15Mins.htm and
http://word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm. If you want to
pursue
this further, start reading the other articles on the MacrosVBA section
of the
site, and post questions in microsoft.public.word.vba.beginners.

On Sat, 22 Nov 2008 11:40:36 -0700, "Blue Max"
wrote:

Forgive me Jay, but a few more questions just occured to me. FIRST,
are any
of these standard codes available from the toolbars or menu system in
Word
2007? There is something vaguely familiar about these codes, as if I
have
seen them elsewhere in the menus. SECOND, as I asked Suzanne, where
might
we find a listing of these codes. THIRD, are these codes part of a
larger
set of codes, such as data 'merge' codes or 'Visual Basic' codes?

Thanks,
Richard

"Jay Freedman" wrote in message
. ..
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time you
want
them. Being lazy, though, I would prefer to package the entire "Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it takes
only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9 to
create the field braces, and select all of it. Go to Office button
Word
Options Proofing AutoCorrect Options. In the dialog that opens,
the
selected text will be in the box on the right labeled "With". In the
box
to its left labeled "Replace", type an abbreviation that you aren't
likely
to type for any other reason -- for example, pxy -- and click the Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm. Although
the
article was written for Word 2003 and earlier, the only thing that's
different about it in Word 2007 is the path to the AutoCorrect
Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow?
Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it
seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair amount
of custom design work. In our experience, selecting a page
number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for
'current
page'
and 'total pages' into the existing text of the footer in order
to
preserve the current design?

On the Insert Page Number button, choose the Current Position
item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry
from
the text of the Page X of Y entry, without its paragraph mark, and
insert that when needed instead of using the Page Number button.










  #15   Report Post  
Posted to microsoft.public.word.newusers
Herb Tyson [MVP] Herb Tyson [MVP] is offline
external usenet poster
 
Posts: 2,936
Default How to insert page number X of Y ?

Braces {} must be entered using Ctrl+F9 if you're manually creating a field
code. If you're using one of a number of other ways to create a field, the
braces are created automatically by Word.

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"Blue Max" wrote in message
...
Sorry, Suzanne, but I did have one other question. Are the French
brackets "{}" that enclose the fieldname codes a special character also,
or can we simply use the keyboard characters (usually available above the
shifted square brackets "[ ]") ?

Thanks,
Richard

*********************
"Suzanne S. Barnhill" wrote in message
...
Well, that should be "slowly improving." A recent update is available for
Word 2007 Help (also for Excel and other Office apps). Presumably this
installs some of the Help topics previously available only online, but it
doesn't increase the total number of Help topics available--just makes
more of them available offline.

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

"Suzanne S. Barnhill" wrote in message
...
The Help in Word 2007, though slowly improvely, is still pretty
hopeless. The Word 2003 Help topics on field codes can be found starting
at http://office.microsoft.com/en-us/wo...033.aspx?stt=1

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

"Blue Max" wrote in message
...
Thank you again Jay. I profoundly appreciate your insight into this
area. We are slowly transitioning from another wordprocessor and have
struggled to find the automated equivalents in Microsoft Word. The
field listings under 'Quick Parts' is exactly what we were looking for
and is, most certainly, where we must have seen these codes before in
some sample online illustration.

I don't know about others, but we often struggle with the 'Help'
feature in Microsoft Office. Perhaps, it's a function of our
unfamiliarity with Microsoft terms or definitions, but it can oft times
be very frustrating to find help on certain, even basic, subjects.

Thank you again,
Richard

***************************
"Jay Freedman" wrote in message
news Hi Richard,

To answer your first question, the field codes aren't visible on
toolbars or
menus in any version of Word, but they can be seen in the Insert Field
dialog
(in Word 2007, Insert Quick Parts Field) if you click the Field
Codes button
in the lower left corner of the dialog. Other than that, you'd see
them only if
you toggled from field results to field codes with Alt+F9 (or Shift+F9
for a
single field).

The place to find a list of all field types is in the Insert Field
dialog that I
just mentioned. Unfortunately, the Help topics that explain the
purpose and
syntax of specific fields are fairly spotty in Word 2007, and what is
there is
poorly indexed and hard to find. A better resource is to use Office
Online,
which contains the Word 2003 help topics on fields starting at
http://office.microsoft.com/en-us/wo...047231033.aspx.

The list of fields should answer the part of your third question about
whether
they're part of a larger set: 'merge' codes are simply a subset of
field codes.
Visual Basic for Applications (VBA), however, is an entirely different
and much
larger topic. Start with
http://word.mvps.org/FAQs/MacrosVBA/...csIn15Mins.htm and
http://word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm. If you want to
pursue
this further, start reading the other articles on the MacrosVBA
section of the
site, and post questions in microsoft.public.word.vba.beginners.

On Sat, 22 Nov 2008 11:40:36 -0700, "Blue Max"
wrote:

Forgive me Jay, but a few more questions just occured to me. FIRST,
are any
of these standard codes available from the toolbars or menu system in
Word
2007? There is something vaguely familiar about these codes, as if I
have
seen them elsewhere in the menus. SECOND, as I asked Suzanne, where
might
we find a listing of these codes. THIRD, are these codes part of a
larger
set of codes, such as data 'merge' codes or 'Visual Basic' codes?

Thanks,
Richard

"Jay Freedman" wrote in message
...
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time
you want
them. Being lazy, though, I would prefer to package the entire "Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it
takes only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9 to
create the field braces, and select all of it. Go to Office button
Word
Options Proofing AutoCorrect Options. In the dialog that opens,
the
selected text will be in the box on the right labeled "With". In the
box
to its left labeled "Replace", type an abbreviation that you aren't
likely
to type for any other reason -- for example, pxy -- and click the
Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm.
Although the
article was written for Word 2003 and earlier, the only thing that's
different about it in Word 2007 is the path to the AutoCorrect
Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case
the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow?
Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it
seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair amount
of custom design work. In our experience, selecting a page
number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for
'current
page'
and 'total pages' into the existing text of the footer in order
to
preserve the current design?

On the Insert Page Number button, choose the Current Position
item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry
from
the text of the Page X of Y entry, without its paragraph mark,
and
insert that when needed instead of using the Page Number button.













  #16   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default How to insert page number X of Y ?

The brackets -- which are field delimiters -- are most definitely special
characters. As Suzanne mentioned in a post very far down this thread, you press
Ctrl+F9 to insert the pair and then type the field code between them. Simply
typing the keyboard characters will _not_ work; all you'll have then is text,
not a field.

Jay

On Mon, 24 Nov 2008 17:59:04 -0700, "Blue Max" wrote:

Sorry, Suzanne, but I did have one other question. Are the French brackets
"{}" that enclose the fieldname codes a special character also, or can we
simply use the keyboard characters (usually available above the shifted
square brackets "[ ]") ?

Thanks,
Richard

*********************
"Suzanne S. Barnhill" wrote in message
...
Well, that should be "slowly improving." A recent update is available for
Word 2007 Help (also for Excel and other Office apps). Presumably this
installs some of the Help topics previously available only online, but it
doesn't increase the total number of Help topics available--just makes
more of them available offline.

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

"Suzanne S. Barnhill" wrote in message
...
The Help in Word 2007, though slowly improvely, is still pretty hopeless.
The Word 2003 Help topics on field codes can be found starting at
http://office.microsoft.com/en-us/wo...033.aspx?stt=1

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

"Blue Max" wrote in message
...
Thank you again Jay. I profoundly appreciate your insight into this
area. We are slowly transitioning from another wordprocessor and have
struggled to find the automated equivalents in Microsoft Word. The
field listings under 'Quick Parts' is exactly what we were looking for
and is, most certainly, where we must have seen these codes before in
some sample online illustration.

I don't know about others, but we often struggle with the 'Help' feature
in Microsoft Office. Perhaps, it's a function of our unfamiliarity with
Microsoft terms or definitions, but it can oft times be very frustrating
to find help on certain, even basic, subjects.

Thank you again,
Richard

***************************
"Jay Freedman" wrote in message
news Hi Richard,

To answer your first question, the field codes aren't visible on
toolbars or
menus in any version of Word, but they can be seen in the Insert Field
dialog
(in Word 2007, Insert Quick Parts Field) if you click the Field
Codes button
in the lower left corner of the dialog. Other than that, you'd see them
only if
you toggled from field results to field codes with Alt+F9 (or Shift+F9
for a
single field).

The place to find a list of all field types is in the Insert Field
dialog that I
just mentioned. Unfortunately, the Help topics that explain the purpose
and
syntax of specific fields are fairly spotty in Word 2007, and what is
there is
poorly indexed and hard to find. A better resource is to use Office
Online,
which contains the Word 2003 help topics on fields starting at
http://office.microsoft.com/en-us/wo...047231033.aspx.

The list of fields should answer the part of your third question about
whether
they're part of a larger set: 'merge' codes are simply a subset of
field codes.
Visual Basic for Applications (VBA), however, is an entirely different
and much
larger topic. Start with
http://word.mvps.org/FAQs/MacrosVBA/...csIn15Mins.htm and
http://word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm. If you want to
pursue
this further, start reading the other articles on the MacrosVBA section
of the
site, and post questions in microsoft.public.word.vba.beginners.

On Sat, 22 Nov 2008 11:40:36 -0700, "Blue Max"
wrote:

Forgive me Jay, but a few more questions just occured to me. FIRST,
are any
of these standard codes available from the toolbars or menu system in
Word
2007? There is something vaguely familiar about these codes, as if I
have
seen them elsewhere in the menus. SECOND, as I asked Suzanne, where
might
we find a listing of these codes. THIRD, are these codes part of a
larger
set of codes, such as data 'merge' codes or 'Visual Basic' codes?

Thanks,
Richard

"Jay Freedman" wrote in message
...
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time you
want
them. Being lazy, though, I would prefer to package the entire "Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it takes
only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9 to
create the field braces, and select all of it. Go to Office button
Word
Options Proofing AutoCorrect Options. In the dialog that opens,
the
selected text will be in the box on the right labeled "With". In the
box
to its left labeled "Replace", type an abbreviation that you aren't
likely
to type for any other reason -- for example, pxy -- and click the Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm. Although
the
article was written for Word 2003 and earlier, the only thing that's
different about it in Word 2007 is the path to the AutoCorrect
Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow?
Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert the
automated codes, where needed, one at a time. Not sure why it
seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair amount
of custom design work. In our experience, selecting a page
number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for
'current
page'
and 'total pages' into the existing text of the footer in order
to
preserve the current design?

On the Insert Page Number button, choose the Current Position
item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry
from
the text of the Page X of Y entry, without its paragraph mark, and
insert that when needed instead of using the Page Number button.









  #17   Report Post  
Posted to microsoft.public.word.newusers
Blue Max Blue Max is offline
external usenet poster
 
Posts: 43
Default How to insert page number X of Y ?

Thank you very much, Herb. You also mentioned other ways to create a field,
what might those be?

Thanks,
Richard

**********************
"Herb Tyson [MVP]" wrote in message
...
Braces {} must be entered using Ctrl+F9 if you're manually creating a
field code. If you're using one of a number of other ways to create a
field, the braces are created automatically by Word.

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"Blue Max" wrote in message
...
Sorry, Suzanne, but I did have one other question. Are the French
brackets "{}" that enclose the fieldname codes a special character also,
or can we simply use the keyboard characters (usually available above the
shifted square brackets "[ ]") ?

Thanks,
Richard

*********************
"Suzanne S. Barnhill" wrote in message
...
Well, that should be "slowly improving." A recent update is available
for Word 2007 Help (also for Excel and other Office apps). Presumably
this installs some of the Help topics previously available only online,
but it doesn't increase the total number of Help topics available--just
makes more of them available offline.

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

"Suzanne S. Barnhill" wrote in message
...
The Help in Word 2007, though slowly improvely, is still pretty
hopeless. The Word 2003 Help topics on field codes can be found
starting at
http://office.microsoft.com/en-us/wo...033.aspx?stt=1

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

"Blue Max" wrote in message
...
Thank you again Jay. I profoundly appreciate your insight into this
area. We are slowly transitioning from another wordprocessor and have
struggled to find the automated equivalents in Microsoft Word. The
field listings under 'Quick Parts' is exactly what we were looking for
and is, most certainly, where we must have seen these codes before in
some sample online illustration.

I don't know about others, but we often struggle with the 'Help'
feature in Microsoft Office. Perhaps, it's a function of our
unfamiliarity with Microsoft terms or definitions, but it can oft
times be very frustrating to find help on certain, even basic,
subjects.

Thank you again,
Richard

***************************
"Jay Freedman" wrote in message
news Hi Richard,

To answer your first question, the field codes aren't visible on
toolbars or
menus in any version of Word, but they can be seen in the Insert
Field dialog
(in Word 2007, Insert Quick Parts Field) if you click the Field
Codes button
in the lower left corner of the dialog. Other than that, you'd see
them only if
you toggled from field results to field codes with Alt+F9 (or
Shift+F9 for a
single field).

The place to find a list of all field types is in the Insert Field
dialog that I
just mentioned. Unfortunately, the Help topics that explain the
purpose and
syntax of specific fields are fairly spotty in Word 2007, and what is
there is
poorly indexed and hard to find. A better resource is to use Office
Online,
which contains the Word 2003 help topics on fields starting at
http://office.microsoft.com/en-us/wo...047231033.aspx.

The list of fields should answer the part of your third question
about whether
they're part of a larger set: 'merge' codes are simply a subset of
field codes.
Visual Basic for Applications (VBA), however, is an entirely
different and much
larger topic. Start with
http://word.mvps.org/FAQs/MacrosVBA/...csIn15Mins.htm and
http://word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm. If you want to
pursue
this further, start reading the other articles on the MacrosVBA
section of the
site, and post questions in microsoft.public.word.vba.beginners.

On Sat, 22 Nov 2008 11:40:36 -0700, "Blue Max"
wrote:

Forgive me Jay, but a few more questions just occured to me. FIRST,
are any
of these standard codes available from the toolbars or menu system in
Word
2007? There is something vaguely familiar about these codes, as if I
have
seen them elsewhere in the menus. SECOND, as I asked Suzanne, where
might
we find a listing of these codes. THIRD, are these codes part of a
larger
set of codes, such as data 'merge' codes or 'Visual Basic' codes?

Thanks,
Richard

"Jay Freedman" wrote in message
l...
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time
you want
them. Being lazy, though, I would prefer to package the entire
"Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it
takes only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9
to
create the field braces, and select all of it. Go to Office button
Word
Options Proofing AutoCorrect Options. In the dialog that opens,
the
selected text will be in the box on the right labeled "With". In
the box
to its left labeled "Replace", type an abbreviation that you aren't
likely
to type for any other reason -- for example, pxy -- and click the
Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm.
Although the
article was written for Word 2003 and earlier, the only thing
that's
different about it in Word 2007 is the path to the AutoCorrect
Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case
the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph
intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow?
Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert
the
automated codes, where needed, one at a time. Not sure why it
seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair
amount
of custom design work. In our experience, selecting a page
number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for
'current
page'
and 'total pages' into the existing text of the footer in order
to
preserve the current design?

On the Insert Page Number button, choose the Current Position
item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a
paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry
from
the text of the Page X of Y entry, without its paragraph mark,
and
insert that when needed instead of using the Page Number button.












  #18   Report Post  
Posted to microsoft.public.word.newusers
Blue Max Blue Max is offline
external usenet poster
 
Posts: 43
Default How to insert page number X of Y ?

Thank you, Jay. I apparently overlooked Suzanne's instruction to use the
CTRL-F9 key.

***********************************
"Jay Freedman" wrote in message
...
The brackets -- which are field delimiters -- are most definitely special
characters. As Suzanne mentioned in a post very far down this thread, you
press
Ctrl+F9 to insert the pair and then type the field code between them.
Simply
typing the keyboard characters will _not_ work; all you'll have then is
text,
not a field.

Jay

On Mon, 24 Nov 2008 17:59:04 -0700, "Blue Max"
wrote:

Sorry, Suzanne, but I did have one other question. Are the French
brackets
"{}" that enclose the fieldname codes a special character also, or can we
simply use the keyboard characters (usually available above the shifted
square brackets "[ ]") ?

Thanks,
Richard

*********************
"Suzanne S. Barnhill" wrote in message
...
Well, that should be "slowly improving." A recent update is available
for
Word 2007 Help (also for Excel and other Office apps). Presumably this
installs some of the Help topics previously available only online, but
it
doesn't increase the total number of Help topics available--just makes
more of them available offline.

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

"Suzanne S. Barnhill" wrote in message
...
The Help in Word 2007, though slowly improvely, is still pretty
hopeless.
The Word 2003 Help topics on field codes can be found starting at
http://office.microsoft.com/en-us/wo...033.aspx?stt=1

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

"Blue Max" wrote in message
...
Thank you again Jay. I profoundly appreciate your insight into this
area. We are slowly transitioning from another wordprocessor and have
struggled to find the automated equivalents in Microsoft Word. The
field listings under 'Quick Parts' is exactly what we were looking for
and is, most certainly, where we must have seen these codes before in
some sample online illustration.

I don't know about others, but we often struggle with the 'Help'
feature
in Microsoft Office. Perhaps, it's a function of our unfamiliarity
with
Microsoft terms or definitions, but it can oft times be very
frustrating
to find help on certain, even basic, subjects.

Thank you again,
Richard

***************************
"Jay Freedman" wrote in message
news Hi Richard,

To answer your first question, the field codes aren't visible on
toolbars or
menus in any version of Word, but they can be seen in the Insert
Field
dialog
(in Word 2007, Insert Quick Parts Field) if you click the Field
Codes button
in the lower left corner of the dialog. Other than that, you'd see
them
only if
you toggled from field results to field codes with Alt+F9 (or
Shift+F9
for a
single field).

The place to find a list of all field types is in the Insert Field
dialog that I
just mentioned. Unfortunately, the Help topics that explain the
purpose
and
syntax of specific fields are fairly spotty in Word 2007, and what is
there is
poorly indexed and hard to find. A better resource is to use Office
Online,
which contains the Word 2003 help topics on fields starting at
http://office.microsoft.com/en-us/wo...047231033.aspx.

The list of fields should answer the part of your third question
about
whether
they're part of a larger set: 'merge' codes are simply a subset of
field codes.
Visual Basic for Applications (VBA), however, is an entirely
different
and much
larger topic. Start with
http://word.mvps.org/FAQs/MacrosVBA/...csIn15Mins.htm and
http://word.mvps.org/FAQs/MacrosVBA/UsingRecorder.htm. If you want to
pursue
this further, start reading the other articles on the MacrosVBA
section
of the
site, and post questions in microsoft.public.word.vba.beginners.

On Sat, 22 Nov 2008 11:40:36 -0700, "Blue Max"
wrote:

Forgive me Jay, but a few more questions just occured to me. FIRST,
are any
of these standard codes available from the toolbars or menu system in
Word
2007? There is something vaguely familiar about these codes, as if I
have
seen them elsewhere in the menus. SECOND, as I asked Suzanne, where
might
we find a listing of these codes. THIRD, are these codes part of a
larger
set of codes, such as data 'merge' codes or 'Visual Basic' codes?

Thanks,
Richard

"Jay Freedman" wrote in message
l...
Hi Richard,

As Suzanne says, you _can_ insert fields one at a time, each time
you
want
them. Being lazy, though, I would prefer to package the entire
"Page
{PAGE} of {NUMPAGES}" construct into an AutoCorrect entry so it
takes
only
a few keystrokes to drop it into a footer.

First type the whole expression into some document, using Ctrl+F9
to
create the field braces, and select all of it. Go to Office button

Word
Options Proofing AutoCorrect Options. In the dialog that opens,
the
selected text will be in the box on the right labeled "With". In
the
box
to its left labeled "Replace", type an abbreviation that you aren't
likely
to type for any other reason -- for example, pxy -- and click the
Add
button.

Now, any time you type that abbreviation followed by a space or
punctuation, it will automatically be replaced by the Page X of Y
expression.

There's more about AutoCorrect at
http://www.word.mvps.org/FAQs/Custom...utoCorrect.htm.
Although
the
article was written for Word 2003 and earlier, the only thing
that's
different about it in Word 2007 is the path to the AutoCorrect
Options
dialog.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup
so all may benefit.

Suzanne S. Barnhill wrote:
You can insert any field by pressing Ctrl+F9 to insert the field
braces and then typing the field name between them. In this case
the
relevant fields are PAGE and NUMPAGES.


"Blue Max" wrote in message
...
Thank you for the explanation, Jay. Your last paragraph
intrigues
me, but you also lost me. Is it possible you are saying we can
simply insert the codes for current page and total pages somehow?
Could
you explain a little further how we do what you are describing
in the last paragraph addressing a 'better solution'?

Other programs allow you to type in the text and simply insert
the
automated codes, where needed, one at a time. Not sure why it
seems
to be so difficult in Word.

Thanks,
Richard

***************
"Jay Freedman" wrote in message
...
Blue Max wrote:
We want a footer that includes "Page X of Y" where X equals the
page number and Y equals total pages. The problem, however, is
that our footers often already exists and includes a fair
amount
of custom design work. In our experience, selecting a page
number
from the gallery with the proper format, replaces the existing
footer. Therefore, how does one simply insert the codes for
'current
page'
and 'total pages' into the existing text of the footer in order
to
preserve the current design?

On the Insert Page Number button, choose the Current Position
item
instead of the Bottom of Page item, and choose the Page X of Y
entry from that gallery. It will probably also insert a
paragraph
mark formatted with Normal style, which you'll have to delete so
the remaining paragraph mark is formatted in Footer style.

A better solution is to make an AutoText or AutoComplete entry
from
the text of the Page X of Y entry, without its paragraph mark,
and
insert that when needed instead of using the Page Number button.










Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change insert page number default from bottom or page to top of pa Perfumer Microsoft Word Help 1 May 17th 07 06:06 AM
page break and page number insert does not work in word document Michele Microsoft Word Help 1 May 9th 06 12:10 PM
How do I insert chapter number with page number in footer? Joan Microsoft Word Help 4 May 9th 05 04:00 PM
insert page number Buff Microsoft Word Help 1 May 7th 05 08:54 PM
When insert page number is clicked, the number inserted at page 1. inbetween Page Layout 1 February 19th 05 07:07 AM


All times are GMT +1. The time now is 06:49 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"