If you type “=rand(200,99)” into a Word document and press Enter the doc will stretch into several hundred pages with weird text

December 13, 2011 · 2 comments

Type =rand(200,99) into a Word document and press Enter. The document will extend into 200+ pages with the following text across all pages: “The quick brown fox jumps over the lazy dog”

If you type

Weird, isn’t it?

Follow me on Facebook, Twitter and RSS

Leave your comment!

You might also like these posts on other blogs:

{ 2 comments }

jojo December 14, 2011 at 12:16 am

It’s actually not weird at all. This is a very useful feature of Word that Word masters have used over the yearrs to save themselves lots of time. Rand stands for random, meaning it’s a function that generates random text for you. The particular sentence it chooses is one which contains all 26 letters of the alphabet. The 2 numbers you pass to the function correspond to how many paragraphs it should produce and how many sentences should be in each paragraph. Since you called the function with such high numbers it produced hundreds of pages of text. But try it with rand(3,2) and you’ll see it produces three paragraphs of 2 sentences each.
However, I believe that in the newest versions of Word, it behaves slightly differently.

Itchy Bites December 14, 2011 at 12:25 am

Wow, thanks for explaining it inside-out!

Comments on this entry are closed.

Previous post:

Next post: