Printing Placeholders and Answers

Written by Allen Wyatt (last updated August 5, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021


David is using hidden text to produce student tests (hidden text not printed) and teacher answer sheets (hidden text printed). He has a need, however, to print a placeholder, such as a series of underlines, on the student test and the answer on the teacher's sheet. For instance "Stop when you see a _________ light" would be on the test printout, but "Stop when you see a RED light" would be on the answer sheet printout. Hidden text doesn't seem to handle this need, so David wonders if there is a better way.

Actually, there are several ways this can be approached. Hidden text cannot be used in the way that David envisions, but there are other ways to tackle the problem.

First, you could modify how you use the hidden text. Simply set your question like this:

Stop when you see a ___RED___ light

The only thing to be formatted as hidden text would be the word "RED." When your printout has hidden text included, then you've printed an answer sheet. When your printout has hidden text excluded, then the two underline segments join together because "RED" doesn't print, and you have a student test. There is the added benefit that when you print the answer sheet, the underlines draw the eye to where the answer is located.

Another approach is to creatively use styles. Create a single character style which I'll call (for example) "Answer." Set up the style so that it is underlined and, perhaps, something like bold or bold red. Then create your questions, like this:

Stop when you see a RED light

Select the word "RED" and apply the Answer style to that selection. The answer should now appear formatted exactly as you specified in the style. When you are done, what you then have is the teacher's answer sheet. When you want to print a student test, just modify the Answer style so it uses white font color. When you then print the test, you end up with the answers being white-on-white, which means invisible. However, the underline in the style (which is colored independently of the font color) still prints, so you have placeholders for the student answers.

If you decide to go this route, you can avoid giving your students clues about the length of the correct answer by simply padding the answer with spaces, both before and after. Assuming they are also formatted using the Answer style, you end up with a longer space for the student to write their answer.

A third potential approach is to use mail merge to create both the student test and the answer sheet. Use an Excel worksheet as your data source, and in one column put underscores of whatever length you desire for the student answer space. In the next column put the actual answers to each question. When you set up the merge document, use the conditional merge field structures (or even the Ask field) to determine whether the underlines or the answer should be printed.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13431) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Wrapping Spaces

Add more than one space after the end of a sentence, and you may find that the extra spaces wrap to the start of new ...

Discover More

Missing PivotTable Data

Wonder what happened to the data behind a PivotTable? It could be in a number of places, and tracking it down could be a ...

Discover More

Deleting Graphics when Deleting a Row

If you use Excel to keep a graphic with each row of data you amass, you may wonder if there is a way to easily delete the ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Using a Macro to Change the Formatting of All Instances of a Word

If you have a word that you need to make sure is formatted the same way throughout your document, there are several ways ...

Discover More

Underlining Section References Automatically

If you have a document that has some sort of keyword within it (such as "Section") you may want to automatically format ...

Discover More

Applying the All Caps Format

Want your text to always appear in uppercase, regardless of how you type it? Word allows you to add formatting to your ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 - 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.