Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Long Documents / December 2007

Tip: Looking for answers? Try searching our database.

Syntax Problem with footer on last page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hardy - 19 Dec 2007 17:19 GMT
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
Suzanne S. Barnhill - 19 Dec 2007 23:44 GMT
Did you insert both { PAGE } and { NUMPAGES } as fields as well?

Signature

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

> Hi,
>
[quoted text clipped - 12 lines]
>
> Hardy
Hardy - 20 Dec 2007 07:54 GMT
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!

> Did you insert both { PAGE } and { NUMPAGES } as fields as well?
>
[quoted text clipped - 22 lines]
>
> - Show quoted text -
Hardy - 20 Dec 2007 08:10 GMT
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.

> 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
[quoted text clipped - 32 lines]
>
> - Show quoted text -
Graham Mayor - 20 Dec 2007 10:53 GMT
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.
Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> 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
[quoted text clipped - 37 lines]
>>
>> - Show quoted text -
Suzanne S. Barnhill - 20 Dec 2007 15:50 GMT
You can also use the Insert Page Number and Insert Number of Pages buttons
on the Header and Footer toolbar to insert these fields.

Signature

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

> 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
[quoted text clipped - 26 lines]
>>
>> - Show quoted text -
Hardy - 21 Dec 2007 15:27 GMT
After a bit of trial and error, I've finally got my last page graphic
sorted. Thanks for your help and Happy Holidays!!!

> You can also use the Insert Page Number and Insert Number of Pages buttons
> on the Header and Footer toolbar to insert these fields.
[quoted text clipped - 41 lines]
>
> - Show quoted text -
Suzanne S. Barnhill - 21 Dec 2007 15:37 GMT
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.

Signature

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!!!

> You can also use the Insert Page Number and Insert Number of Pages buttons
> on the Header and Footer toolbar to insert these fields.
[quoted text clipped - 47 lines]
>
> - Show quoted text -
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.