100 Amazing Computer Tips
Tip #31 - Generating Random Text
OK, I can hear you asking yourself, “Why would I want to
generate random text?” Just bear with me.
There are many occasions when I need to do this and it’s very cool so
I’m sharing it with you.
The programmers at Microsoft often need to generate random
text to test software so they built in a secret macro that will produce a
specific number of sentences and paragraphs made up of real words, not computer
Latin words. Try this out in your Microsoft Word program.
Open a document in Word and type the following then press
the enter key (return in Apple world):
=rand(5,7) d
Presto, the code you typed changed to five paragraphs each
containing seven sentences. Keep in mind that the five and seven could be any
two numbers depending on how much random text you need. So the next time you
need to demonstrate something in Word to a colleague and you need some text to use,
remember the code. It’s pretty easy if you keep in mind that rand stands for
random.
If you would rather have Latin words rather than distracting
English words, you can do that too. Type =lorem(5,7) in your document and then
press the enter (return) key and it’s replaced with Latin text. Remember that
five and seven can be any numbers you choose.
You can use this tip when you’re trying to show friends or coworkers
some special word features and need to have some text to practice on.
Happy Computing!
Diane
Buy my book at Amazon.com. It's only $14.99 and it's packed with 100 Amazing Computer Tips! They're nicely organized and really easy to follow.
Want more tech news or interesting links? You'll get plenty of both if you keep up with Diane McKeever, the author of 100 Computer Tips in 100 Days, by subscribing to her Facebook posts or visiting her web page, www.dianemckeever.com .
Diane
Buy my book at Amazon.com. It's only $14.99 and it's packed with 100 Amazing Computer Tips! They're nicely organized and really easy to follow.
Don't forget to click the Subscribe to 100 Computer Tips in 100 Days via email link on the right side of the screen so you get email alerts when Diane adds a new post.
Want more tech news or interesting links? You'll get plenty of both if you keep up with Diane McKeever, the author of 100 Computer Tips in 100 Days, by subscribing to her Facebook posts or visiting her web page, www.dianemckeever.com .
Just tried this and nothing happened --any suggestions
ReplyDeleteIf you type it correctly it always works unless you have turned off autocorrect. Make sure that you begin with the equal sign and don't leave any spaces and then press the Enter key when you're finished. Your entry should look like this:
ReplyDelete=rand(5,7)
Try copying and pasting this into Word to see if that works.
Thanks for following my blog. - Diane
Here's a follow up for "Hot off the press". AutoCorrect is accessed through the File tab, Options. Next click Proofing on the left and then the AutoCorrect Options button. Make sure "replace text as you type" is selected.
ReplyDelete