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)

5

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

Understanding Forms

If you have ever created several documents that contain the same basic information with only a few minor differences, ...

Discover More

Detailed Measurements

Want to know exactly how far something on the ruler is from the left and right margins of your document? It's easy to ...

Discover More

Coloring Identical Company Names

Want to know where duplicates are in a list of names? There are a couple of ways you can go about identifying the ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More WordTips (ribbon)

Turning Off a Startup Sound

If you hear a sound when you start Word, it is because of some settings within Windows itself. You can use the Control ...

Discover More

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

Keeping Word Open after Closing Documents

Usually when you are done working on a document, you want to close Word completely and move on to something else. There ...

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 2 + 9?

2019-04-28 07:04:48

JMJ

I have the same problem as Jim: It doesn't work!
(see Figure 1 below)

Figure 1. 


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.