How to put a different footer on the last page of a document

1 Comments

__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"42606":{"name":"Main Accent","parent":-1},"e429f":{"name":"Accent Dark","parent":"42606"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"42606":{"val":"var(--tcb-skin-color-0)"},"e429f":{"val":"rgb(61, 75, 77)","hsl_parent_dependency":{"h":347,"l":0.24,"s":0.51}}},"gradients":[]},"original":{"colors":{"42606":{"val":"rgb(44, 162, 174)","hsl":{"h":185,"s":0.59,"l":0.42}},"e429f":{"val":"rgb(61, 75, 77)","hsl_parent_dependency":{"h":187,"s":0.11,"l":0.27}}},"gradients":[]}}]}__CONFIG_colors_palette__

With a hat-tip to Susan Harkins at TechRepublic.com, I'm going to show you one of the neatest Word tricks I think I've ever seen ... and exactly how I'm going to put it to use to solve a long-standing problem: getting something to show up in the footer on every page except the last.

Around our office, we do a lot of wills.  A lot. And the attorneys who do them like for their clients to initial all of the non-signature pages whenever they execute the will itself.  (It keeps anybody from getting cute later and substituting a page before taking it to the Probate Judge.  People are sneaky that way.)  So we put "Initials: _______" in the footer on the right margin so it prints on every page.

I always thought my preferred solution, using Section Breaks, was the last word in solving the problem of how to get that footer text to not show up on the last page.  But noooooo.  Susan's got a better idea: embedding a custom function in there.

Here's the video demonstration:

More...

Like I said, I'm going to be finding every excuse to use this wherever it's handy!

A couple of reader suggestions

Readers chime in with their suggestions:

Jim suggested turning the comparison around so as not to require the whited-out asterisk:

alternate version of code comparing page number to total pages

Jim recommended this variation - a bit cleaner code!

Andy suggested this:

Better is to bookmark the signatures or some other text that will always be necessarily on the last page and then compare the current page number to the page number of the bookmark. This solves all sorts of problems that arise when the nominal page numbering is not the same as the physical page numbering (e.g., introductory material in separately numbered sections, attached exhibits, etc.). 

For a tutorial on using bookmarks, click here.

Great suggestions!

About the author 

Deborah Savadra

I spend an inordinate amount of my time playing with computers and attempting to explain technology to lawyers and law office staff. It's not always easy, but someone's got to do it.

Comments are closed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

How do your Word skills stack up?

Whether you're getting ready for a job interview or just looking to "skill up" to meet daily demands, this Word Skills Checklist can help you find the gaps in your knowledge of basic to intermediate Microsoft Word skills. Click the button below to download your copy today!