Have you ever found yourself in a position needing a document file to use in order to test an application?
It’s one of those things that happen more often than not. What do you do then? I will normally start up Microsoft Word, type in some rubbish (or, even copy random stuff from whatever webpage I happen to have displayed in my browser), save the file and use it.
What if there was a much easier way to create a random document file?
The following will work for you:
=rand(x,y)
Type the above in a new word document, replacing integers for “x” and “y” and press enter. Word will generate random text of “x” paragraphs of “y” sentences length. For example, if you wanted to create a 10 paragraph document, where each paragraph is made of 2 sentences, you would type in the following:
=rand(10,2)