Well I'll be... You are absolutely correct: it appears the Continuous
Section Break can't have a header or a footer!!
Why wasn't I told??
I could have sworn I've done this a few times
before over the years...
OK, this means you will have to use a single section break (i.e. Don't add
any) and a complex field to cope with the case where the first page may also
be the last page:
{ IF { NUMPAGES } = 1 "Last Page Footer" { IF { PAGE } = { NUMPAGES } "Last
Page Footer" " " }
The "{" and "}" are field bounding characters, NOT curly braces: use Command
+ F9 to put them in. For this purpose, I would avoid the Insert>Field
dialog, just insert your field bounding characters and simply type the names
of the fields inside them.
Be careful of spacing: there is a space on the inside of each field bounding
character, and one between the last pair of double-quotes.
This field reads "IF {The number of pages in the document} = 1, then print
"The Last Page Footer", ELSE IF {The current page number} = { The number of
pages in the document} then print "The Last Page Footer", ELSE print nothing
(a space).
It works, I tested it...
Sorry about that.
Hi John;
Perhaps I'm just being overly dense, but I can't conceive of any way this
can be done without VBA... It's a *conditional* consideration, isn't it?
Doesn't the *first* Sec to appear at the start of a page the one that
determines which H/F that page displays? If that's accurate, the Footer will
show up on *every* page, which isn't what the OP wants. Also, if the Footer
is in Sec1 how can it not appear on the first page without the Different
First Page option set?
OTOH, if the footer is in Sec2 how can it ever appear at all unless Sec2 has
content that spans a page break? In the same vein Continuous Section Breaks
that occur on the same page can't have their own H/F AFAIK.
Regards |:>)
Bob Jones
[MVP] Office:Mac
This email is my business email -- Please do not email me about forum
matters unless you intend to pay!
--
John McGhie, Microsoft MVP (Word, Mac Word), Consultant Technical Writer,
McGhie Information Engineering Pty Ltd
Sydney, Australia. | Ph: +61 (0)4 1209 1410
+61 4 1209 1410, mailto:
[email protected]