Avatar of BritaJ
BritaJFlag for United States of America

asked on 

Include a footer on only the last page of a variable size word document

I have a document which needs to have a footer on the last page only.  I can't use the usual section brake solution because the document is of variable length, depending on which "boiler plate" paragraphs are included.
From what I have read it looks like I might have to add some visual basic to the document to get it to work.  I have never done this, so I will need some very simple instructions.

Thanks,
Brita
Microsoft Word

Avatar of undefined
Last Comment
BritaJ
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Visual basic could probably do it, but it is not a very good solution, because it might need to be re-run after any change, including a change of printer (driver).

You really need to use an { IF... }  field with embedded { PAGE } and { NUMPAGES } fields:

{ IF {Page} = {Numpages} "last page footer" "other page footer"}
Avatar of BritaJ
BritaJ
Flag of United States of America image

ASKER

Gram,
That looks great, but word isn't my speciality and I don't understand how to make this show up in the footer.  I copy and past that into the footer, but it just shows that text not the result.
Are there some sort of steps to put code into the footer?

Thanks,
Brita
Avatar of BritaJ
BritaJ
Flag of United States of America image

ASKER

Graham,
I figured out how to make it show up, but it is not working.  It keeps just saying "other page footer" even on the last page.  
 
Any ideas?

Thanks,
Brita
ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Not the world's greatest typist myself. This:

"It is a bit easiet to type in the outer parr first:"

should be


"It is a bit easier to type in the outer pair first:"

Sorry about that
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

My last two comment didn't see your last comment at 22:30 GMT. I'll try to address it in a minute
Avatar of BritaJ
BritaJ
Flag of United States of America image

ASKER

Graham,
Your last post was correct.  I didn't understand about the CTRL F9.  I just inserted a new page then edited the it using regular {} not the ones created by CTRL F9.  Once I used that it works GREAT!!!!

Thanks soooooo much for your help.
I had been tearing my hair out for hours and no one around here had any idea how to help.

Thanks again,
Brita

Avatar of BritaJ
BritaJ
Flag of United States of America image

ASKER

Graham is Great!  He deserves the title of Genius.
Microsoft Word
Microsoft Word

Microsoft Word is a commercial document editing program that is part of the Microsoft Office suite. It features numerous text-editing tools for creating richly formatted documents, along with tools for the use of macros in Word documents. Word's native file formats are denoted either by a .doc or .docx file extension. Plugins permitting the Windows versions of Word to read and write formats it does not natively support, such as the OpenDocument format (ODF) are available. Word can import and display images in common bitmap formats such as JPG and GIF. It can also be used to create and display simple line-art.

30K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo