Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Alternative Ways of Creating Random Text.

Alternative Ways of Creating Random Text

by Allen Wyatt
(last updated December 17, 2018)

4

Other issues of WordTips discuss the undocumented RAND function in Word and how it can be used to generate random text. (At the start of a new paragraph, type =rand() and press Enter. There are other ways to use the command, but those are documented elsewhere in WordTips.) If you get bored seeing a bunch of help text, as is inserted by the RAND function, you may be wondering if there are alternative ways of generating random text.

There is one other easy way: To use the LOREM function. If you type =lorem() at the start of a new paragraph and then press Enter, Word inserts three paragraphs of the common lorem ipsum text. This is meaningless, Latin-looking text that is used by those in the printing and publishing business to simulate real text. You can also generate this type of text (and get more information about it) by visiting the following site:

http://www.lipsum.com

You can adjust what the LOREM function generates by adding parameters, just as you do with the RAND function. The first parameter indicates the number of paragraphs you want and the second indicates the number of sentences in each paragraph. As an example, the following generates 4 paragraphs of 7 sentences each of lorem ipsum text:

=lorem(4,7)

It is important to note that the inserted lorem ipsum text will default to Do Not Check Spelling Or Grammar in the Language dialog box to avoid all the words being flagged as misspelled. If the text is used in a document, any new text typed into the paragraphs will also have the spelling and grammar checks turned off. To turn spelling and grammar checks back on, make sure the Do Not Check Spelling Or Grammar check box is clear in the Language dialog box.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (6140) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Alternative Ways of Creating Random Text.

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

Conditionally Formatting an Entire Row

Need to conditionally highlight an entire row based on the contents of a single cell in each row? This tip explains how ...

Discover More

Randomly Resetting Numbering

Have you ever been frustrated by the automatic numbering feature in Word? You are not alone. Fortunately, there are a few ...

Discover More

Getting Rid of Workbook Links

Excel allows you to easily link information from one workbook to another. If you want to get rid of links that may be ...

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)

Page Layout Zoom Settings

The zoom setting at which you view a document can sometimes be saved with a document. This tip explains how the zoom ...

Discover More

Zooming with the Keyboard

Want to zoom in and out without the need to using the ribbon tools? You can create your own handy macros that do the ...

Discover More

Understanding Picas

Word can understand many different measurement units. One common unit understood by Word is the pica, described in this tip.

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}] 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 two less than 5?

2018-12-18 02:58:20

Ken Endacott

Another undocumented function that will generate test text is:
=rand.old()

With this function you may want to generate one sentence paragraphs with:
=rand.old(20,1)


2018-12-17 13:07:45

Allen

Nothing needs to be turned on, Jim. Just make sure that you enter the "commands" as shown (including the equal signs) on a line that has nothing else on it, including spaces.

-Allen


2018-12-17 13:04:18

Jim

Does something have to be turned on to do this...I can think of no reason why I would want to do this, but I tried both of these to see what would happen...NOTHING! What did I miss?


2015-08-26 16:45:52

Dell

Thanks for the info! I signed up for the newsletter, too.

My question is regarding the random text. Is there a way to insert random with respect to word count rather than paragraphs and lines?

Thanks,

Dell


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.

Newest Tips
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.