Third article example

2021-01-17 18:59:56

Working in Microsoft Word, I often need some “junk” text to play around with, for various reasons:


* I’m designing a document and don’t want to get bogged down in what the text actually says.


* I’m creating a template with various paragraph styles and need to see what they will look like.


* I’m creating a macro and need some text for testing purposes.


* I’m trying to learn more about some feature of Microsoft Word and don’t want to practice on a real document.


Microsoft Word 97, 98, 2000, and 2001 include an undocumented feature that generates all of the sample text I need. Maybe you’ll find it helpful too. To use it, type the following line into a Word document and press the ENTER key:


=Rand(1,1)


Word will insert the following text into your document:


The quick brown fox jumps over the lazy dog.


(As you probably know, this sentence includes every letter in the alphabet and is sometimes used for typing practice.)


Need more than one sentence? You can specify how many sentences you need by changing the last number in the Rand statement. For example, if you needed five sentences, you could type this–


=Rand(1,5)


–which would produce this:


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.


Need more than one paragraph? You can specify how many paragraphs you need by changing the first number in the Rand statement. For example, if you needed two paragraphs (with five sentences in each one), you could type this–

Sign up Sign in