Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2021, 12:08 PM
Cosmo Cosmo is offline Logo on last page footer only Windows Vista Logo on last page footer only Office 2007
Competent Performer
Logo on last page footer only
 
Join Date: Mar 2012
Posts: 231
Cosmo is on a distinguished road
Default Logo on last page footer only

I have a footer in a document which needs to be consistent across all pages of the document, except that it needs to show a logo on the last page.



I had tried using a conditional field code, but that didn't work consistently. If I updated the fields, it showed, but it wasn't visible when the document was opened, and the client needs this to always be visible.

I had to put a section break on the page before, but I don't like doing it this way. If the document gets edited, the section break could end up on the last page (or get deleted with the text) which would remove the logo from the last page; or if text is added after the section break, the logo could show up on more than just the last page.

Is there a way to do the conditional field code to show the logo properly? Or is there another way to do this that will be more reliable? I could anchor the logo with the body text, but that could also get deleted if the text is edited that contains the anchor.
Reply With Quote
  #2  
Old 01-26-2021, 01:20 PM
Charles Kenyon Charles Kenyon is offline Logo on last page footer only Windows 10 Logo on last page footer only Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 7,680
Charles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud of
Default

See Footer on last page.
{IF {PAGE} = {NUMPAGES} "Your last page content here" "other footer here" }
This is the only method.
Note that information in a header or footer will never appear full-strength when a document is viewed in print view on a computer. This is by design.
Reply With Quote
  #3  
Old 01-26-2021, 01:20 PM
macropod's Avatar
macropod macropod is offline Logo on last page footer only Windows 10 Logo on last page footer only Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,235
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Simply insert a field into the footer, coded as:
{IF{PAGE}= {NUMPAGES} "Your logo goes here"}
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #4  
Old 01-26-2021, 01:28 PM
Charles Kenyon Charles Kenyon is offline Logo on last page footer only Windows 10 Logo on last page footer only Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 7,680
Charles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud of
Default

You could position your logo as a floating graphic on the last page positioning it relative to the page. This is in the body, not in the footer and it is easily overtyped or deleted. It would also be easy to type content after it, possibly creating a new page without the logo.
Reply With Quote
  #5  
Old 01-26-2021, 03:13 PM
Cosmo Cosmo is offline Logo on last page footer only Windows Vista Logo on last page footer only Office 2007
Competent Performer
Logo on last page footer only
 
Join Date: Mar 2012
Posts: 231
Cosmo is on a distinguished road
Default

Thanks for the responses.

That's what I'm using in my field code, but the logo isn't always visible. Not sure why?


When I open the document, it looks like this:


If I open the footer or update the field, then it looks like this:

And the floating graphic is pretty much the only other option I had come up with, the anchor on the last page, but your comments are exactly why I don't want to use that option either.

I've attached the word file.
Attached Files
File Type: docx TestLogo.docx (28.0 KB, 2 views)
Reply With Quote
  #6  
Old 01-26-2021, 09:00 PM
macropod's Avatar
macropod macropod is offline Logo on last page footer only Windows 10 Logo on last page footer only Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,235
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

As depicted in the field code representations Charles and I posted, you need to have a space after the NUMPAGES field and to enclose your logo in double quotes.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 01-27-2021, 07:15 AM
Cosmo Cosmo is offline Logo on last page footer only Windows Vista Logo on last page footer only Office 2007
Competent Performer
Logo on last page footer only
 
Join Date: Mar 2012
Posts: 231
Cosmo is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
As depicted in the field code representations Charles and I posted, you need to have a space after the NUMPAGES field and to enclose your logo in double quotes.
Thanks, I can't remember if I had tried this before (I believe I did in the original file, I can't send that because it contains confidential material), but making those changes have no effect at all. I get the same results.
Attached Files
File Type: docx TestLogo.docx (24.6 KB, 3 views)
Reply With Quote
  #8  
Old 01-27-2021, 03:23 PM
macropod's Avatar
macropod macropod is offline Logo on last page footer only Windows 10 Logo on last page footer only Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,235
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Go to File|Options|Display>Printing Options and ensure 'Print background colors and images' is checked.

Go to File|Options|Advanced>Show document content and ensure 'Show background colours and images in Print Layout view' is checked.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #9  
Old 01-27-2021, 03:57 PM
Cosmo Cosmo is offline Logo on last page footer only Windows Vista Logo on last page footer only Office 2007
Competent Performer
Logo on last page footer only
 
Join Date: Mar 2012
Posts: 231
Cosmo is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Go to File|Options|Display>Printing Options and ensure 'Print background colors and images' is checked.

Go to File|Options|Advanced>Show document content and ensure 'Show background colours and images in Print Layout view' is checked.
Thanks, Iíll check that tomorrow, but even if that fixes the issue, I wonít have that level of control of the end users system, so unless thereís something else that can be done to reliably assure the logo will always be visible, I may have to abandon the field code method, and stick with one of the other ďhacksĒ. This is for a pharmaceutical company, and their legality approval processes are extremely strict, and their logo disappearing (even though it would print properly) would be a huge issue.

Thanks again.
Reply With Quote
  #10  
Old 01-27-2021, 04:16 PM
macropod's Avatar
macropod macropod is offline Logo on last page footer only Windows 10 Logo on last page footer only Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,235
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

So liaise with the IT people there to ensure everyone's PC is properly configured. This can by done by setting the appropriate group policies.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #11  
Old 01-27-2021, 04:58 PM
Cosmo Cosmo is offline Logo on last page footer only Windows Vista Logo on last page footer only Office 2007
Competent Performer
Logo on last page footer only
 
Join Date: Mar 2012
Posts: 231
Cosmo is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
So liaise with the IT people there to ensure everyone's PC is properly configured. This can by done by setting the appropriate group policies.
Itís not that simple. They are not the end user. We are creating the document for them, but they will be dispersing it to others. That solution will not make it through their legal department.
Reply With Quote
  #12  
Old 01-27-2021, 05:50 PM
macropod's Avatar
macropod macropod is offline Logo on last page footer only Windows 10 Logo on last page footer only Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,235
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Any approach other than field coding is liable to be way more problematic than the field coding one.

Try the attached implementation. In this case, the logo is wrapped and only its anchor is between the double-quotes. Note too how the logo's positioning is defined. Formatting the image this way obviates the need for the settings referred to in post #8.
Attached Files
File Type: docx TestLogo.docx (24.6 KB, 4 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #13  
Old 01-27-2021, 06:36 PM
Cosmo Cosmo is offline Logo on last page footer only Windows Vista Logo on last page footer only Office 2007
Competent Performer
Logo on last page footer only
 
Join Date: Mar 2012
Posts: 231
Cosmo is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Any approach other than field coding is liable to be way more problematic than the field coding one.

Try the attached implementation. In this case, the logo is wrapped and only its anchor is between the double-quotes. Note too how the logo's positioning is defined. Formatting the image this way obviates the need for the settings referred to in post #8.
Thanks, Iíll check that in the morning. I agree that any other solution than the conditional field coding would be less than ideal, but it wouldnít be the first time I had to accept a compromise. All things considered, this is probably one of the easier problems Iíve had to deal with. The document wonít change once itís sent to the document, but it would have to survive constant changes, revisions, and quarterly updates, and Iím not always the one making the changes internally, so me of my coworkers could mess it up if they are given the changes. Iím the only one in the office who would have known to do use a conditional field code for this.
Reply With Quote
  #14  
Old 01-27-2021, 06:53 PM
macropod's Avatar
macropod macropod is offline Logo on last page footer only Windows 10 Logo on last page footer only Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,235
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

I should also point out that, given the range of configuration options Word users have, there can never be any guarantee your logo will either appear on screen, whichever approach you take. For example, a user might go to File|Options|Advanced>Show document content and uncheck the 'show drawings and textboxes on screen' option, which would defeat whatever approach you take.

At some stage, the end-user has to take some responsibility for they way they handle your document. All you can do is advise them on how Word should be configured to behave 'normally'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #15  
Old 01-28-2021, 06:59 AM
Cosmo Cosmo is offline Logo on last page footer only Windows Vista Logo on last page footer only Office 2007
Competent Performer
Logo on last page footer only
 
Join Date: Mar 2012
Posts: 231
Cosmo is on a distinguished road
Default

That one seems to be working much better, it is invisible for a split second when I get to the last page, but does show up almost instantaneously. Works on both my PC and Mac.

I'll run it through some tests on a couple more systems, but this might solve my issue.

Thanks a great deal!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
save ppt as pdf on mac 1 slide/page with copyright & logo Burt PowerPoint 0 04-23-2019 10:22 AM
I have 20 page word document with a footer. Can i change page # 10 footer only? aligahk06 Word 2 10-25-2017 04:53 AM
Logo on last page footer only Macro to Insert Logo in header on 1st page only and bookmark it. youseeme Word VBA 9 09-16-2016 05:25 AM
How to save the current page in a new file with all the page settings (header, footer Jamal NUMAN Word 6 03-15-2012 03:27 PM
Logo on last page footer only How to print header logo only in 1st page Shafraz Khahir Word 1 11-29-2010 11:52 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:28 AM.


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