Many a time, we want sample text in a document. For example, when creating a template, placeholder text can be used to define formatting and layout.
One way is to type or copy text from another document. Another way is to “generate” the sample text using the rand() and lorem() functions of Microsoft Word.
To generate random text in Microsoft Word:
- On a new line, type =rand(). Ensure there is no space between = and rand().
- Press ENTER.
Microsoft Word generates sample text. How much and what text is generated depends on the version of Microsoft Word being used.
You can also specify how much text you want to generate by specifying the number of paragraphs and the number of sentences in each paragraph.
The rand() function will now be written as:
=rand(number_of_paragraphs, number_of_sentences_in_each_paragraph)
- On a new line, type =rand(5,2).
- Press ENTER.
Microsoft Word generates 5 paragraphs of text, each with 2 sentences.
Tips:
- To generate The quick brown fox…., use rand.old() instead of rand().
- To generate Lorem ipsum dolor sit amet…, the traditional Latin default text preferred by the printing industry, use lorem() instead of rand().
Did you like this article? You may also like: