【Word豆知識】サンプル文書を一瞬で自動入力!便利な隠しコマンド
![](https://chiakimemoblog.com/wp-content/uploads/2021/12/word_rand_ic-min.jpg)
「なんでもいいからサンプル文書を用意して」
なんてときに、ぜひぜひ使ってほしい「サンプル文書を一瞬で自動入力する方法」を紹介します。
![](https://chiakimemoblog.com/wp-content/uploads/2021/07/chiakigumirogo512.jpg)
テンプレート文書をダウンロードするより簡単です。
サンプル文書が一瞬で自動入力できるRAND関数
わたし自身がそうなんですが、ワードの使い方を説明するときにサンプル文書を用意するケースがあります。
時間があるときはいいのですが、いちいち文章を作って入力するのが面倒な場合もあります。
そんなときに便利なのが【RAND関数】!一瞬で文章を入力することができます。
RAND関数でサンプル文書を入力する方法
以下の手順でRAND関数を使って文書を入力します。
➀ワードを開き「=rand()」と入力します。
※入力は半角でしましょう!
![ワードを開き「=rand()」と入力](https://chiakimemoblog.com/wp-content/uploads/2021/12/word_rand1-min.jpg)
![ワードを開き「=rand()」と入力](https://chiakimemoblog.com/wp-content/uploads/2021/12/word_rand1-min.jpg)
②【Enter】キーを押すとサンプル文書が自動で入力されます。
![【Enter】キーを押すとサンプル文書が自動で入力](https://chiakimemoblog.com/wp-content/uploads/2021/12/word_rand2-min.jpg)
![【Enter】キーを押すとサンプル文書が自動で入力](https://chiakimemoblog.com/wp-content/uploads/2021/12/word_rand2-min.jpg)
![](https://chiakimemoblog.com/wp-content/uploads/2019/09/okappa4ha-to.png)
![](https://chiakimemoblog.com/wp-content/uploads/2019/09/okappa4ha-to.png)
![](https://chiakimemoblog.com/wp-content/uploads/2019/09/okappa4ha-to.png)
めちゃめちゃ簡単!
何ページもある長い文書も一瞬で入力することができる
RAND関数では長文のサンプル文書も一瞬で自動入力することが可能です。
=rand(段落数,1段落の文章数)
![](https://chiakimemoblog.com/wp-content/uploads/2019/09/okappa12gimon.png)
![](https://chiakimemoblog.com/wp-content/uploads/2019/09/okappa12gimon.png)
![](https://chiakimemoblog.com/wp-content/uploads/2019/09/okappa12gimon.png)
難しい?
![](https://chiakimemoblog.com/wp-content/uploads/2021/07/chiakigumirogo512.jpg)
![](https://chiakimemoblog.com/wp-content/uploads/2021/07/chiakigumirogo512.jpg)
![](https://chiakimemoblog.com/wp-content/uploads/2021/07/chiakigumirogo512.jpg)
実際に例を提示して解説していきますね。
使い方の例として、2段落で5つの文章のまとまりを作ってみます。
➀「=rand(2,5)」と入力します。
![「=rand(2,5)」と入力](https://chiakimemoblog.com/wp-content/uploads/2021/12/word_rand3-min.jpg)
![「=rand(2,5)」と入力](https://chiakimemoblog.com/wp-content/uploads/2021/12/word_rand3-min.jpg)
② 【Enter】キーを押すとサンプル文書が自動で入力されます。
![【Enter】キーを押すとサンプル文書が自動で入力](https://chiakimemoblog.com/wp-content/uploads/2021/12/word_rand4-min.jpg)
![【Enter】キーを押すとサンプル文書が自動で入力](https://chiakimemoblog.com/wp-content/uploads/2021/12/word_rand4-min.jpg)
③2段落で5つの文章のまとまりが入力されています。
※下図では、分かりやすいように字下げを設定しています。
![2段落で5つの文章のまとまりが入力](https://chiakimemoblog.com/wp-content/uploads/2021/12/word_rand5-min.jpg)
![2段落で5つの文章のまとまりが入力](https://chiakimemoblog.com/wp-content/uploads/2021/12/word_rand5-min.jpg)
![](https://chiakimemoblog.com/wp-content/uploads/2019/09/okappa6nikkori.png)
![](https://chiakimemoblog.com/wp-content/uploads/2019/09/okappa6nikkori.png)
![](https://chiakimemoblog.com/wp-content/uploads/2019/09/okappa6nikkori.png)
なるほど、そういう意味ですね!
こんな感じで段落を増やせば、100ページのサンプル文書を作ることも可能になります。
![](https://chiakimemoblog.com/wp-content/uploads/2021/03/word-whatdanrakukigou_ic-300x169.jpg)
![](https://chiakimemoblog.com/wp-content/uploads/2021/03/word-whatdanrakukigou_ic-300x169.jpg)
まとめ
サンプル文書を一瞬で自動入力できる便利な隠しコマンド【RAND関数】を紹介してきました。
入力手順は簡単!
- ワードを開き半角で「=rand()」と入力
- 【Enter】キーを押す
- サンプル文書が自動入力される
ちょっと便利な豆知識として知ってもらえるとうれしいです。
![](https://chiakimemoblog.com/wp-content/plugins/pochipp/assets/img/pochipp-logo-t1.png)
![](https://chiakimemoblog.com/wp-content/plugins/pochipp/assets/img/pochipp-logo-t1.png)
こちらの本は「Kindle Unlimited 」会員なら無料で読むことができます。
30日間の無料体験中でも同じように利用することができるので、無料で読んでみたい方は無料体験に登録をするといいですよ。
▶Kindle Unlimitedで無料で読んでみる