News

This blog has been shifted to Innovation Escalator.

Sunday, May 8, 2011

Shortcut to Sample Text in MS Word

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.

No comments:

Post a Comment