If that’s too drastic a step for you, and you’d like to preserve the images in the document, but simply not see them, you have another option. Click on File Options, and then select Advanced. The drop-down lets you access a menu of options to edit the citation and source. Add a Citation Placeholder in Word – Instructions: A picture of a citation placeholder in Word. Add a Citation Placeholder in Word: Instructions. To add a citation placeholder in Word, place your cursor at the end of the text you are quoting.
The Anchorage
Personal website of Gregory K. Maxey, Commander USN (Retired)
Do you have ad-blocking software enabled? While I respect your right to do so, your donations and the minimal advertisements on this site help to defray internet and other costs of providing this content. Please consider excluding this website from blocking or turning off the blocker while browsing this site.
DISCLAIMER/TERMS OF USE
The information, illustrations and code contained in my 'Microsoft Word Tips' are provided free and without risk or obligation.
However, the work is mine. If you use it for commercial purposes or benefit from my efforts through income earned or time saved then a donation, however small, will help to ensure the continued availability of this resource.
If you would like to donate, please use the appropriate donate button to access PayPal. Thank you!
This Microsoft Word Tips & Microsoft Word Help page provides a couple of solutions to the frequently asked question, 'How do I prevent the placeholder text (PHT) in uncompleted content controls from printing?' The solutions provided are a result of collaborative effort with MVP Jay Freedman.
The problem can occur often. You prepare a form and send it out for completion. Users complete part of the form and leave some of the content controls uncompleted. When the form is returned and printed the PHT in the uncompleted content controls are printed. This results in an unsightly finished form.
Unfortunately there isn't a simple solution. There is no option in Word to exclude printing content control PHT, and without an intensive form validation process, you can't make the user fill out each field.
Each of the automated solutions provided require VBA which means the template and form documents must be macro enabled (i.e., .dotm and .docm extensions).
The first method employs the application event 'DocumentBeforePrint,' repurposed Print commands and a temporary modification of the document's Placeholder text style.
Placeholder text, like most text in Word, is defined by a style. If you temporarily set the Placeholder text style font property .Hidden to true, set the application options .PrintHiddenText property to false and print the document the PHT text will not be printed. This can of course be done manually if you have a willing group of form users, but an automated process requires a VBA solution.
Notes:
1. The Normal project is project associated with the Normal template. It is global and always loaded.
2. The method is developed for Word 2010, but includes all necessary code for Word 2013 and 2007 users. Some elements (e.g., the class module) is not required for Word 2007.
Note: You have to close and restart Word in order fo the AutoExec macro to initialize the clsPrint class.
The following is an explanation of how the process more or less works:
Notes:
1. If you often print large forms, you may want to increase the delay. This delay is needed because changing the Hidden attribute immediately (at the end of the DocumentBeforePrint routine) would happen before the PrintPreviewAndPrint command has time to spool the content to the printer queue.
2. Due to a plethora of complications associated the inability to intercept the PrintPreviewAndPrint command, the PHT will still appear visible in the backstage preview pane when you select the File tab in Word 2010/2013, but that visible PHT IS NOT printed.
3. If you really want to see what the document will look like with PHT suppressed then add the PrintPreviewAndEdit control to your QAT. In Print Preview and Edit mode, the PHT is suppressed.
4. If while in the Print Preview and Edit mode you select the Print Preview and Print control the backstage view and preview appears with the PHT suppressed.
5. If you print (i.e, select the 'Print' command) the PHT is suppressed in the printed document and then restored after the short delay.
6. However, if you don't print and return to the document by clicking one of the other tabs on the ribbon then the PHT will not be restored and remain formatted as hidden text.
7. In this situation, you can restore PHT by immediately switching to Print Preview and Edit mode then closing the mode.
The second method, similar to the first, employs the application event 'DocumentBeforePrint,' repurposed Print commands and a temporary alteration of the PHT object itself.
Placeholder text, is a bit peculiar. While it appears to be text, a content control's .PlaceholderText property is actually a Building Block object with a value. For a more in depth discussion see: 5 Curiosities about Placeholders in Word Content Controls (for developers). If we temporarily set the .PlaceholderText property to a zero width space (i.e., ChrW(8203), before printing and restore then original PHT after printing the results will be similar to method I. The code is a bit more complicated and the only advantage is we don't tinker with user options or restrict printing of hidden text in general.
The jury is still deliberating if there is any real advantage over either method, but I use method II in my Content Control Tools Add-In. So here it is:
Note: If you have already created the modules using method I then simply delete the existing content in the modules. Do not attempt to use both methods simultaneously.
The process and procedures are similar to Method I, instead of changing the PHT style, it:
Method III employs an individual document template, the Document_ContentControlOnEnter & Document_ContentControlOnExit events and custom PHT applied dynamically as the user completes the form.
Unlike the previous methods, this method has no relationship with the application print processes. It simply uses the built-in document events to dynamically apply or remove a visible placeholder text as the user navigates the form.
Note: This method is the least robust since it is possible that a user enters a CC displaying the visible placeholder text and then prints the document without first exiting the CC. You, or your users, must be sure to physically 'exit' any uncompleted document CC.
If properly applied each of the three methods will result in a more appealing printed form.
That's it! I hope you have found this tips page useful and informative.
PAYMENTS/DONATIONS
Do you want to make a payment for consulting work or donate to help support this site?
PayPal is a safe, easy way to pay online.
Use the appropriate currency 'Donate' button to make a payment or donation.
Search my site or the web using Google Search Engine
The Anchorage
Personal website of Gregory K. Maxey, Commander USN (Retired)
Do you have ad-blocking software enabled? While I respect your right to do so, your donations and the minimal advertisements on this site help to defray internet and other costs of providing this content. Please consider excluding this website from blocking or turning off the blocker while browsing this site.
DISCLAIMER/TERMS OF USE
The information, illustrations and code contained in my 'Microsoft Word Tips' are provided free and without risk or obligation.
However, the work is mine. If you use it for commercial purposes or benefit from my efforts through income earned or time saved then a donation, however small, will help to ensure the continued availability of this resource.
If you would like to donate, please use the appropriate donate button to access PayPal. Thank you!
The purpose of this Microsoft Word Tips & Microsoft Word Help page will show you how you can quickly modify content control properties including the placeholder text.
I think that content controls are, without a doubt, the best enhancement in Word 2007. If you haven't used these yet then be sure to enable the Developer tab of your Word 2007 application and check them out. You won't be disappointed.
Using the 'Controls' group on the Developer tab you can insert one of seven different content controls in your Word document. Six of the seven control types includes a default placeholder text (the Picture content control does not use placeholder text).
Note: Word 2010 added an eight 'Checkbox' content control. Like the picture content control, the checkbox does not use placeholder text.
With the 'Properties' command in the Controls group you can set the properties for the various control types. For reasons unknown to me, Microsoft left out the option in this dialog to modify the placeholder text.
The following illustrations show the default placeholder text for a plain text (left) and dropdown content control (right) and the corresponding properties dialog. There is no method in the properties dialog to modify the placeholder text.
Perhaps it's just a nit, but I think the document would look much more polished and professional if the placeholder text reflected exactly what we want the user to to do (e.g., enter their name and pick their team color)
Fortunately we can do this by clicking the 'Design Mode' command and editing the placeholder text directly
Bonus Tip: To add the 'Classic Form Controls' group to your Developer tab as shown above, see my: Add Classic Form Controls
Note: Clicking 'in' the placeholder text ensures that you preserve the applied placeholder text style. If you delete the placeholder text or start editing at the beginning of the placeholder text will lose the placeholder text style. I always start after the 'C' and if needed go back and delete the 'C.'
For the final touch, I use the properties dialog to ensure the first list member in the dropdown list matches the placeholder text.
In addition to using the built-in dialogs and 'Design' mode, you can use VBA to set content control placeholder text.
If you are familiar with the Word object module you may notice from the code above that the ContentControl object has a property '.PlaceholderText.' and that property itself is an object and not a string!!
Note: For an interesting summary of content control placeholder text oddities, see: 5 Curiosities about Placeholders in Word Content Controls (for developers).
See: Installing Macros for instructions on how to set up and use the macros provided in this Microsoft Word Help & Microsoft Word Tips page.
When you create a new template or document using lots of content controls all of the mouse work involved in setting properties and custom placeholder text can become quite laborious. To ease this workload, I have created simple template add-in that contains a macro procedure which will loop through each content control in your document, display the properties dialog, and provides a custom dialog for setting the placeholder text.
Download the add-in here: Modify CC Properties & Placeholder Text Add-In
For more on template add-ins and how to load them, see: Organizing Your Macros/Template Add-ins at: Installing Macros
That's it! I hope you have found this tips page useful and informative.
PAYMENTS/DONATIONS
Do you want to make a payment for consulting work or donate to help support this site?
PayPal is a safe, easy way to pay online.
Use the appropriate currency 'Donate' button to make a payment or donation.
Search my site or the web using Google Search Engine