Most content is meant for viewing on-screen and in print, but not always. For instance, you might want to print a specific header without viewing it on-screen. Fortunately, the solution is easy—apply a font-level format and enable a document setting.
SEE: Windows 10 apps: Which should you keep and which should you dump? (free PDF) (TechRepublic)
I’ll show you how to hide text in a document’s header and then use a document setting to print it–even though it isn’t visible in the on-screen document. This technique works with all hidden content.
I’m using Office 365 on a Windows 10 64-bit system, but the technique will work in older versions. You can work with your own document or download the demonstration .docx or .doc files. The browser edition will print existing headers and footers, but you can’t alter them or view them on-screen.
LEARN MORE: Office 365 Consumer pricing and features
How to insert a header in Word
If you know how to insert a header in Word, you can skip this section.
Adding headers to a Word document can be a complex task, but for now, you only need to insert simple text. To do so, double-click the document at the top margin—that top inch or so of white space—to open the header area in edit mode. If you don’t see the header white space, you may have disabled it inadvertently. If you think that’s the case, read the Missing White Space section in Office Q&A: Placeholder formats and disappearing white space.
With the header area in edit mode, type the word Confidential and press Enter to wrap to the next line. Click Date & Time in the Insert group and then click anywhere in the document area (outside the header area) to close the header. At this point, both header lines are visible on-screen and will print. The next step is to hide the content you don’t want to display on-screen.
How to use the Hidden format in Word
You can add text and hide it in any Word document. You might want to hide confidential information temporarily or even use one document to fulfill two or more roles. You can hide text and unhide it manually to determine what appears on-screen and in print. It’s important to note that hiding text affects the document’s layout and page flow.
In this case, we won’t use the format to hide and unhide content as needed; instead, we’ll hide part of the header from online viewing and leave it that way. To illustrate, we’ll apply the Hidden format to the word Confidential in the demonstration document’s header (Figure A) as follows:
Double-click inside the header (or footer) to open it in edit mode.
Select the text you want to hide; in this case, select the word Confidential.
Right-click the selected text and choose Font from the resulting submenu.
In the Effects section of the resulting dialog, check Hidden, and then click OK.
When you return to the document (click anywhere outside the header area), the word Confidential will no longer be visible (Figure B). If you printed the document right now, Word would not print the word Confidential, but it would print the date (which isn’t hidden). Let’s move on to see how to print hidden text.
How to print hidden text in Word
Printing hidden text isn’t the mystery you might suppose: Word has a setting for it. To print hidden text in the current document, follow these steps.
Click the File menu and choose Options. In the resulting pane, click Display in the left pane.
In the Printing Options section, check Print Hidden Text (Figure C) and click OK.
When you return to Word, click the File menu and choose Print. As you can see in Figure D, the header is visible in Print Preview even though it isn’t visible in the document. When printing hidden text this way, Word will print all hidden text, not only the hidden header.
Keep in mind that any hidden text that you don’t want others to ever see is vulnerable–the Hidden format isn’t a form of protection, so don’t use it that way. If you have a clever trick involving hidden text, please share it in the comments section below.
Send me your question about Microsoft Office
I answer readers’ questions when I can, but there’s no guarantee. Don’t send files unless requested; initial requests for help that arrive with attached files will be deleted unread. You can send screenshots of your data to help clarify your question. When contacting me, be as specific as possible. For example, “Please troubleshoot my workbook and fix what’s wrong” probably won’t get a response, but “Can you tell me why this formula isn’t returning the expected results?” might. Please mention the app and version that you’re using. I’m not reimbursed by TechRepublic for my time or expertise when helping readers, nor do I ask for a fee from readers I help. You can contact me at email@example.com.