Blog Archives

Microsoft Word Trick

Hey, here is a cool trick which you can try in Microsoft Word:

  • Open a new blank MS word document.
  • type =rand(3,5) (type it do not just copy from here)
  • press enter

you will see that your typed text has been replaced with some lines…

If you are using an old version then the text produced is –

“The quick brown fox jumps over the lazy dog”

which keeps getting repeated again and again. the above statement contains all the letters in the English alphabet.

For the new version of word, the text is –

“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.”

Microsoft has officially declared this to be a function which can be used to create filler text

If you observe more closely, you will find that there are 3 paragraphs with 4 sentences each. This is because of the parameters which we had specified in the rand() function. It takes 2 values – rand(a,b) where a is the number of paragraphs to generate and b is the number of lines in each paragraph.

You can try generating different paragraphs by changing the value inside the () for example typing =rand(4,5) and pressing enter will generate 4 paragraphs with 5 lines each etc..

to get the old text in the newer versions of MS word, you can use – =rand.old() function. for example – =rand.old(2,3) will produce 2 paragraphs with the statement – “The quick brown fox jumps over the lazy dog” repeated in each paragraph 3 times

There is another similar function in MS word, which produces random paragraphs. That function is =lorem() this function produces the lorem ipsum text.

Enjoy! 😀

P.S. all these functions will be disabled if the “replace text as you type” function is turned off.

%d bloggers like this: