Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-09-2015, 01:10 AM
macropod's Avatar
macropod macropod is offline selecting shape in header only Windows 7 64bit selecting shape in header only Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

To do this with field coding, you could use the combination of an ASK field and an IF field.



The ASK field might be coded as: {ASK ShowHide "Display Logo (Y/N)?"}

The IF field for each image you want to conditionally show or hide might be coded as:
{IF{REF ShowHide \* Caps}<> "N*" "put image or its anchor here"}

Simply put the image or its anchor between the double-quotes surrounding the 'put image or its anchor here' text (which you can delete). With this approach, you'll get a pop-up any time the document is printed. Answering anything other than something beginning with N or n will cause the image to display and, hence, print.

Note: The field brace pairs (i.e. '{ }') for the above examples are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practicable to add them via any of the standard Word dialogues. The spaces represented in the field construction are all required.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting Texts mohsen.amiri Word 5 02-19-2015 11:50 PM
selecting shape in header only Selecting First Columns mohsen.amiri Word Tables 1 09-01-2014 01:08 AM
Can command Advanved Filter do without selecting header(i.e. just process cells)? Aquinax Excel 3 08-10-2013 05:16 PM
selecting shape in header only Excel vba adding field in word table/shape in a header Hdr Excel 1 02-04-2013 04:40 PM
selecting shape in header only locking shape within shape cpwljaw Drawing and Graphics 1 08-28-2012 12:13 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:24 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