Syntax Problem with footer on last page

H

Hardy

Hi,

I am trying to get a different footer on my last page. I have
inserted;

IF {PAGE} = {NUMPAGES} "Last Page" "Not Last Page"

into the footer having pressed ,ctrl.F9. But is says "Not Last Page"
for all 3 pages in my simple test document. Curiously, if I take the
single space either side of the "=" sign, then it changes to "Last
Page" for all 3 pages.

As I mentioned, it is a simple test document, with no section breaks
or anything, so any other trouble-shooting advice gratefully received.

Hardy
 
H

Hardy

No! Aha! That's the solution. I thought manually doing the brackets
would have worked and didn't realise had to do ctrl F9 for those as
well. Thanks v. much for your help!
 
H

Hardy

But is it possible to replace "Last Page" with a graphic? I've tried
various ways of doing this, but not worked. I am sure I read
somewhere else on here that this is possible.
 
G

Graham Mayor

Yes of course. You can insert just about anything between the quotes instead
of 'last page' or 'not last page', including your graphic. Don't forget to
update the field after editing it.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
S

Suzanne S. Barnhill

You can also use the Insert Page Number and Insert Number of Pages buttons
on the Header and Footer toolbar to insert these fields.
 
H

Hardy

After a bit of trial and error, I've finally got my last page graphic
sorted. Thanks for your help and Happy Holidays!!!
 
S

Suzanne S. Barnhill

Graphics can always be a bit of a problem. One way to deal with inserting a
graphic in a field is to save the graphic as an AutoText entry and then
insert the AutoText entry (or an AutoText field) in the IF field. If the
problem is with placement of the graphic, it's possible that adding a \*
MERGEFORMAT switch would help, as it would (theoretically) preserve any
formatting you applied to the graphic after inserting it in the field.

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

After a bit of trial and error, I've finally got my last page graphic
sorted. Thanks for your help and Happy Holidays!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top