Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-15-2014, 02:33 PM
jeffo jeffo is offline Conditional Footers of Different Sizes Windows 7 64bit Conditional Footers of Different Sizes Office 2007
Novice
Conditional Footers of Different Sizes
 
Join Date: Jul 2014
Posts: 1
jeffo is on a distinguished road
Default Conditional Footers of Different Sizes

I have a situation where I have conditional footers having different sizes which is creating problems if the document is a certain length.

On all pages I have a header that repeats with page x of y. On all pages that are not the last page, I have a footer with "Continued...". This is replaced with a table on the last page with a signature lines to be signed by various people. The following code is in the header:
{ if {page} < {numpages} "Continued...
"}{if {page} = {numpages}" <table is here> "}



The problem occurs when the document is a length that would fit on one page with "Continued..." at the bottom, but would require two pages with the table. The header says page 1 of 2, Continued... is shown at the bottom of the page but the document is only one page.

Pressing F9 causes the document to jump to 2 pages then back to 1 page in length.

Any suggestions on what I can do to automatically force the last paragraph onto the next page? I'd prefer not to enter a few blank lines after "Continued...." so it's the same height as the last page footer as this leaves a significant area between continued and the bottom of the page.
Reply With Quote
  #2  
Old 07-15-2014, 09:57 PM
macropod's Avatar
macropod macropod is offline Conditional Footers of Different Sizes Windows 7 32bit Conditional Footers of Different Sizes Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,343
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

First, your field code should be reduced to:
{if{page}< {numpages} "Continued..." "<table is here>"}

As for the last paragraph, ensure nothing (including an empty paragraph) follows it. Then make sure your last paragraph is formatted with the 'keep together' and 'keep with next' attributes.

Even with those measures, though, you will sometimes find Word getting confused as to what to do. In such cases it's probably best to insert a manual page break before the final paragraph.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Floorplan with different tile sizes? PaulClemons Visio 4 02-04-2014 10:06 AM
table various sizes JRaul Word 1 07-07-2012 04:27 AM
Different paper sizes, same doc druid Word 2 01-04-2012 03:29 PM
Conditional Footers of Different Sizes Pages sizes of sections jwcane Word 1 06-15-2010 01:58 AM
Conditional Footers of Different Sizes Org Chart box sizes mookeepooh Word 1 11-12-2009 09:11 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft