Saturday, May 7, 2011

Auto generate random text in Word

Applys to: Word Difficulty: 2

Sometimes you just need some fill text for testing purposes or perhaps you're creating a template, and want to insert some demo text.
As always, for some strange reason, it takes a long time do decide what to write, as you want it to be random, and not just copy / paste the same sentence again and again.

Word can do this for you, through the =rand() command. Just write this in your Word document, and press enter:



Now, perhaps you don't need that much text. The =rand() command can also take two parameters:
=rand(X,Y)

X is the number of paragraphs you want, and Y is the number of sentences.

So... =rand(2, 3) will generate this: 


2 paragraphs with 3 sentences each.

Also, you can use the =lorem() command the exact same way, to get the famous "Lorem ipsum" text. More about Lorem ipsum here: http://www.lipsum.com/

This concludes this tip.




No comments:

Post a Comment