Generating “placeholder” text automatically in Word

by WordGuru · 0 comments

in Formatting, Paragraph, Word 2007, Word XP/2002, Word XP/2003

While this isn’t a common need in law offices, it’s such a cool trick, I just had to share.

Have you ever seen a sentence that started with “Lorem ipsum …”?  That’s placeholder text that web and print designers use to show how text will be formatted in a document.  And it’s easy to insert automatically in Word.

If you ever need a block of nonsense words to test formatting, etc., you can insert this classic placeholder text in Word 2007 by typing “=lorem(#)” (without the quotes, of course) where #=the number of paragraphs of text you need.

To do insert random text in Word 2003 and earlier, use =rand(p,l), where p=number of paragraphs and l=number of lines (repetitions).  This version will insert the classic sentence “The quick brown fox jumped over the lazy dog.”  For example, if you insert =rand(5,3), Word inserts 5 paragraphs of 3 sentences each.

Cool, huh?  (Okay, I get a little too excited about undocumented goodies.)

Hat tips to Webtlk.com, OfZenandComputing, and Microsoft for this trick!

Related posts:

  1. Changing text case in Word
  2. What you can (and can’t) open in Word
  3. Converting WordPerfect docs to Word
  4. Working with Word 2007 documents in earlier versions
  5. Putting dates in Word documents

Leave a Comment

Previous post:

Next post: