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

Swapping Two Numbers

When developing a macro, you may need to swap the values in two variables. It's simple to do using the technique in this tip.

Discover More

Writing a Macro from Scratch

Recording macros is a great approach to getting started with macros, but at some point you'll need to create one from ...

Discover More

Condensing Multiple Worksheets Into One

Want a quick way to combine your worksheets? Excel provides a tool to make the task easier, but you could also bypass the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

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

Understanding WIZ Files

A file that uses the WIZ extension will open just fine in Word. What are these files, however, and how do you create them?

Discover More

Cascading Document Windows

Want the various documents you have open to be cascaded on-screen so you can organize them easier? The capability is ...

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 7 + 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.