Create sample text with Microsoft Word


Do you ever need to create a 20 page Word document for some testing purpose? Are you tired of copying & pasting old boring “lorem ipsum” text over and over again, increasing font size and line space in order to make the document 20+ pages long? Look no further! I 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, and then you can impress your colleague or your boss with this little secret trick.

Insert Lorem Ipsum Text

1. Launch Microsoft Word 2007 (or above)
2. Type in “=lorem(m, n)“, substituting m and n with numbers in a new line. For example, “=lorem(50,35)
3. Press Enter key
[ad]
Vola, Microsoft Word automatically inserts random “lorem Ipsum” text in your document. The meaning of the parameters in the lorem() function is:
m: the number of paragraphs created
n: the number of setences 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

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

Microsoft Word automatically inserts random readable text in the document. The parameters in “rand()” function have 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 pages in no time.
[ad#mo]