Home  >  Article  >  How to generate placeholder text in Microsoft Word?

How to generate placeholder text in Microsoft Word?

王林
王林forward
2023-04-26 15:58:081164browse

Want to know how to quickly and easily generate random text in a Word document for various purposes? Tired of copying and pasting text from somewhere else all the time? How about you press the Enter key and Word instantly generates random text for you? Sound cool? So, get ready for the surprises in your life.

Keep reading to learn a cool Word trick that will save you tons of time. Hope you enjoyed reading this article!

Section 1: Generating Random Text Using the Rand() Formula

rand()The formula function can be used to easily generate random text in a Word document. Let's see how to do this.

Rand() function without any parameters

If the rand() function is called without any parameters within curly braces, the default Next, 5 paragraphs will be generated, each paragraph has 3 sentences.

Step 1: Open the Word document and simply copy and paste the following formula.

=兰德()

Press Enter key after pasting the formula.

如何在 Microsoft Word 中生成随机文本

Step 2: That’s it. Your random text is now generated successfully. Since you don't provide any arguments in the rand() function, 5 paragraphs are generated by default, each containing 3 sentences.

如何在 Microsoft Word 中生成随机文本

Rand() function with parameters

If you want to generate a specific number of paragraphs and want a specific number to appear in each paragraph The number of sentences can be specified in the parameter list of the rand() function.

Step 1: Just like before, copy and paste the following formula into your Word document.

=兰德(2,8)

2 represents the number of paragraphs, 8 represents the number of sentences in each paragraph . If you need 3 paragraphs and 2 sentences, then your rand function should be =rand(3,2).

如何在 Microsoft Word 中生成随机文本

Step 2

: After pressing the Enter key, you can see that 2 are successfully generated for you Paragraphs, 8 sentences each.

如何在 Microsoft Word 中生成随机文本Part 2: Generate random text using Launch() formula

If you need to generate classic lorem text instead of some random text, you can use lorem formula function.

Step 1

: Simply copy and paste the following formula into your Word document.

=lorem(,)
NOTE

: Remember to replace

with your desired number of paragraphs and with The number of sentences you want in each paragraph. Alternatively, if you're ok with the standard setup (i.e. 5 paragraphs, 3 sentences each), then you can simply use the =lorem() formula function.

如何在 Microsoft Word 中生成随机文本Step 2

: Pressing

Enter will generate the lorem text in your document.

Section 3: Generating Random Text Using the Rand.old() Formula如何在 Microsoft Word 中生成随机文本

We all remember the pangram of a quick brown fox jumping over a lazy dog. If you want to generate this text, you can use the

rand.old()

function.

Step 1

: Enter or

copy and pastethe following formula.

=rand.old(,)
Note

: Replace

with the number of paragraphs you want and > with the number of paragraphs you want in Number of sentences in each paragraph.

如何在 Microsoft Word 中生成随机文本Step 2

: Press

Enter and see the magic with your own eyes!

The above is the detailed content of How to generate placeholder text in Microsoft Word?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete