{"id":689,"date":"2013-12-19T09:01:47","date_gmt":"2013-12-19T09:01:47","guid":{"rendered":"http:\/\/www.sharonmurphy.com\/wordpress\/?p=689"},"modified":"2015-10-05T15:02:24","modified_gmt":"2015-10-05T14:02:24","slug":"quick-text-generation-in-word","status":"publish","type":"post","link":"https:\/\/www.sharonmurphy.com\/wordpress\/2013\/12\/quick-text-generation-in-word\/","title":{"rendered":"Quick Text Generation in Word"},"content":{"rendered":"<p>Here&#8217;s a trick that comes in useful if, say, you have a blank Word doc you want to populate quickly to check out formatting and layout. A simple command will dump a block of sample text into your Word doc. You just type it in to the main document and press <strong>Return<\/strong>, no opening special dialogs or VB windows or anything.<\/p>\n<p><!--more--><\/p>\n<ol>\n<li>Open your Word doc.<\/li>\n<li>Go to a new blank line.<\/li>\n<li>Type:<br \/>\n<strong>=rand()<\/strong><\/li>\n<li>Hit <strong>Return<\/strong>.<\/li>\n<li>Count to 3 and be delighted. \ud83d\ude42<\/li>\n<\/ol>\n<p><strong>Notes:<\/strong><\/p>\n<ul>\n<li>If you know how much text you want (a small bit, a big bit, loads of paragraphs, or one enormous block to test widow\/orphan settings), you can pass 2 number parameters to rand:<br \/>\n<strong> =rand(a,b)<\/strong><br \/>\n<strong>a<\/strong> is the number of paragraphs you want, <strong>b<\/strong> is the number of sentences in each paragraph. By default, with no params, you get 3 of each.<\/li>\n<li>If you have a fondness for <em>Lorem ipsum<\/em>, you can use the <strong>=lorem()<\/strong> function to do much the same thing, but with passages of lorem ipsum instead of blocks of English text.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a trick that comes in useful if, say, you have a blank Word doc you want to populate quickly to check out formatting and layout. A simple command will dump a block of sample text into your Word doc. You just type it in to the main document and press Return, no opening special &hellip; <a href=\"https:\/\/www.sharonmurphy.com\/wordpress\/2013\/12\/quick-text-generation-in-word\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Quick Text Generation in Word&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,29],"tags":[19,49],"class_list":["post-689","post","type-post","status-publish","format-standard","hentry","category-tech-writing","category-writing","tag-productivity","tag-word"],"_links":{"self":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts\/689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/comments?post=689"}],"version-history":[{"count":6,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts\/689\/revisions"}],"predecessor-version":[{"id":1126,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts\/689\/revisions\/1126"}],"wp:attachment":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/media?parent=689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/categories?post=689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/tags?post=689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}