Dreevoo.com | Online Learning and Knowledge Sharing
 
Home | Programs | Microsoft Office | Microsoft Word | Generate random text with Microsfot Word
Guest
Click to view your profile
Topics
Programs
Languages
Recipes
Home
Shortcuts
 
 

Generate random text with Microsfot Word

Let's see how to automatically generate a random lorem ipsum text of any length using simple Microsoft Word functions.

 
  Author: mat | Version: 2010 | 9th November 2011 |  
 
 
1.
 

Let's say you're making a web design and want to enter some text for the feel of user experience, you can generate it with a simple function.
 
Anywhere in a Word document enter =rand() and press Enter.

 
 
2.
 

A random text has been generated.

Text is made of three paragraphs and each paragraph has 4 sentences.

 
 
3.
 

If you want to control the number of paragraphs and sentences use the following function:

=rand(p,s)

Where p is number of paragraphs and s is number of sentences in a paragraph.

So if you write =rand(5,3) you get a random text made of 5 paragraphs and 3 sentences in each paragraph.

 
 
4.
 

You can also generate a regular "lorem ipsum" text using the following function:

=lorem(p,s)

Where p is just like in the rand function number of paragraphs and s number of sentences in a paragraph.

Try and put =lorem(5,4) in a document and press Enter.


 
 
5.
 

Lorem ipsum has been generated.

Some people prefer the good old Lorem ipsum text, others prefer something they actually understand, it's for you to decide which one you like better.

 
 
 
   
  Please login to post a comment
   
 
 
online learning made for people
Dreevoo.com | CONTRIBUTE | FORUM | INFO