Shortcut to Sample Text in MS Word

By | May 8, 2011
This is an interesting little trick for inserting sample text if you use Microsoft Word.

1. Open a blank Microsoft Word document.

2. Enter =rand() and press the “enter” key.

In MS Word, the use of rand() function automatically adds several sentences and paragraphs that repeat the words, The quick brown fox jumps over the lazy dog. These words are often used for testing because, together; they contain all the letters in the English alphabet in one concise and coherent sentence. Such a sentence is known as a pangram.

In Word 2007 and later versions, the rand() function adds information about using specific Word features in order to create a more realistic document for testing. However, if you wish to use the “Quick Brown Fox” pangram in Word 2007 and later versions, you can still do so by inputting the function =rand.old(). Another Word option is to use =lorem(), This function automatically adds the familiar Lorem ipsum dummy text that has been used by the printing and typesetting industry since the 1500?s. Nowadays, Lorem ipsum text is also used extensively by web developers and publishers to add random text to such things as templates and website prototypes.

You can alter the results of the rand() function by adding numbers in the round brackets. The first number controls the number of paragraphs while the second number controls the number of sentences in each paragraph. For example, using “rand(3,5)” will add three paragraphs of five sentences each. Leaving the brackets empty will add the default number of paragraphs and sentences, which is set at three sentences and three paragraphs.

One thought on “Shortcut to Sample Text in MS Word

  1. Casey Deavila

    I just want to tell you that I am just beginner to blogs and certainly loved this blog site. Almost certainly I’m going to bookmark your site . You certainly come with beneficial posts. Thanks for sharing with us your blog site.


Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.