Pages

Tuesday 9 July 2013

MS Word Magic: Write Paragraph without Typing

Hi friends I'm going to tell you a secret of MS Word...


Fun with Word's RAND function
  1. Open a New MS Word Document 
  2. Write =RAND()  and press Enter.
You will see a Paragraph (dummy text)


You might be wondering how it happened?


Actually RAND is a function. You can control how many paragraphs and lines appear by adding numbers inside the parentheses of the rand() function. The =rand() function has the following syntax:
=rand(p,l) 


Note In this function, p is the number of paragraphs, and l is the number of lines that you want to appear in each paragraph.
The following are some examples that show how the parameters work:
=rand(1) inserts one paragraph with three lines of text in the paragraph.
=rand(10,10) inserts 10 paragraphs with 10 lines of text in each paragraph.



How to insert sample text in Word 2003 and in earlier versions of Word:
To insert sample text in Word 2003, Word 2002, Word 2000, or in Word 97 for Windows, type =rand() in the document where you want the text to appear, and then press ENTER. 


The sample text that is inserted resembles the following text:
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.¶
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.¶
The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.¶
Note This text includes a paragraph symbol (¶) that is displayed when sample text is inserted.


You can control how many paragraphs and lines appear by adding numbers inside the parentheses of the rand() function. The =rand() function has the following syntax:
=rand(p,l)

No comments: