Skip to Content

[Solved] How to Create Sample Random Text Document with Microsoft Word 2007 and Above

Do you ever need to create a 20 page Word document for some testing purposes? Are you tired of copying & pasting old boring lorem ipsum text over and over again, increasing the font size and line space to make the document 20+ pages long? This article will show you a small trick in Microsoft Word 2007 and above to create a large test document with random text in less than 5 seconds.

[Solved] How to Create Sample Random Text Document with Microsoft Word 2007 and Above

[Solved] How to Create Sample Random Text Document with Microsoft Word 2007 and Above


Content Summary

Insert lorem Ipsum Text
Insert Random Readable Text

Insert lorem Ipsum Text

Step 1: Open Microsoft Word 2007 or above.
Step 2: Type =lorem(m,n), substituting m and n with numbers in a new line. For example, =lorem(50,35)
Step 3: Press Enter.

Microsoft Word automatically inserts random lorem Ipsum text in the Word document. The meaning of the parameters in the lorem() function is:

  • m: The number of paragraphs created.
  • n: The number of sentences in each paragraph.

So the above example will insert 50 paragraphs of lorem Ipsum text with 35 sentences in each paragraph.

Insert Random Readable Text

Step 1: Launch Microsoft Word 2007 or above.
Step 2: Type =rand(m, n), substituting m and n with numbers in a new line. For example, =rand(30,25).
Step 3: Press Enter.

Microsoft Word automatically inserts random readable text in the document. The parameters in rand()” function has the same meaning as in lorem() function, so the above example will insert 30 paragraphs of random text in the document with 25 sentences in each paragraph.

You can use both rand() and lorem() functions at any place at any time when you need to insert some random text to fill up some space in a new or existing Word document, and also by using large numbers for m and n, you can create a large test document with thousands of pages in no time.

    Ads Blocker Image Powered by Code Help Pro

    It looks like you are using an adblocker.

    Ads keep our content free. Please consider supporting us by allowing ads on pupuweb.com