WD98: How to Insert Sample Text into a Document

Last reviewed: February 9, 1998
Article ID: Q180685
The information in this article applies to:
  • Microsoft Word 98 Macintosh Edition

SUMMARY

Word includes a way to quickly insert sample text into a document. To do this, type the following

   =rand()

and then press ENTER.

The inserted sample text is as follows:

   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 feature is disabled when the "Replace text as you type" option is turned off. (To turn this option off, click AutoCorrect on the Tools menu, click the AutoCorrect tab, and click to clear the "Replace text as you type" check box.)

MORE INFORMATION

By default, each paragraph contains five sentences. You can control how many paragraphs and sentences you want by adding numbers inside the parentheses. The =rand() function has the following syntax

   =rand(p,s)

where p is the number of paragraphs and s is the number of sentences you want to appear in each paragraph.

Examples:

   =rand(1)     inserts one five-sentence paragraph of text.

   =rand(1,1)   inserts one one-sentence paragraph of text.

   =rand(1,2)   inserts one two-sentence paragraph of text.

   =rand(2)     inserts two five-sentence paragraphs of text.

   =rand(2,1)   inserts two one-sentence paragraphs of text.

   =rand(10)    inserts ten five-sentence paragraphs of text.

   =rand(10,1)  inserts ten one-sentence paragraphs of text.

   =rand(10,10) inserts ten ten-sentence paragraphs of text.

NOTE: When you omit the second number the default is five sentences of text. The maximum number that can be used inside the parenthesis is 200 (this number may be lower depending on the number of paragraphs and sentences specified).


Additional query words: sample example demo dummy
Keywords : macword98
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbinfo


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 9, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.