Tip: Insert Random Text into Microsoft Word

It’s easy: just type =rand() into a Microsoft Word document and press Enter. It’ll be replaced with a five-sentance paragraph:

The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.

You can also type in =rand(3) to get three five-sentance paragraphs.

I figured out that the highest you can go is =rand(200), which produces 14 pages of random goodness. (Assuming you have 12-point Times New Roman font.) Typing =rand(201) and then pressing Enter doesn’t do anything.

So, what’s the practical use of this?

Well, say you want to test some text formatting or text wrapping. Instead of pounding on the keyboard for three minutes producing gobbeldy-gook text to test on, just use Word’s random text insertion.

Was this post helpful? Share it!

6 Comments

  1. George Monty

    Hi John:

    I have found the rand() function very useful in testing changes to formats.

    To add to your information, ther eare actually 2 parameters to the function:
    =rand(a,b) (def 3 paragraphs). a=no. of paragraphs, b=sentences per paragraph (def 5).

    You can quickly get a large document by entering =rand(200,99) or =rand(99,200). these seem to be the maximum values permitted.

  2. Pingback: Catholic Geek » Blog Archive » CG#1 - Word 2007 Beta 2 Tour

  3. Geoff

    This is interesting. Does anyone know how to stop people from peddling this type of dribble around the world as if it were a virus or an error without doing a little research to assure themselves of its validity 🙂 Cheers World

  4. the first no. is how many pages and the second is how many sentaces.

  5. jordan

    awesome amd funney

  6. Ben

    In MS Office Word 2010, that sentence has been replaced by these three paragraphs since long ago:

    On the Insert tab, the galleries include items that are designed to coordinate with the overall look of your document. You can use these galleries to insert tables, headers, footers, lists, cover pages, and other document building blocks. When you create pictures, charts, or diagrams, they also coordinate with your current document look.
    You can easily change the formatting of selected text in the document text by choosing a look for the selected text from the Quick Styles gallery on the Home tab. You can also format text directly by using the other controls on the Home tab. Most controls offer a choice of using the look from the current theme or using a format that you specify directly.
    To change the overall look of your document, choose new Theme elements on the Page Layout tab. To change the looks available in the Quick Style gallery, use the Change Current Quick Style Set command. Both the Themes gallery and the Quick Styles gallery provide reset commands so that you can always restore the look of your document to the original contained in your current template.

Leave a Reply

Your email address will not be published. Required fields are marked *