{"id":1931,"date":"2013-08-23T11:38:25","date_gmt":"2013-08-23T09:38:25","guid":{"rendered":"https:\/\/www.itlektor.cz\/?p=1931"},"modified":"2020-09-04T09:25:38","modified_gmt":"2020-09-04T07:25:38","slug":"zmena-jazyka-gramatiky-v-cele-prezentaci-powerpointu","status":"publish","type":"post","link":"https:\/\/www.itlektor.cz\/en\/zmena-jazyka-gramatiky-v-cele-prezentaci-powerpointu\/","title":{"rendered":"Change of grammar language for whole presentation"},"content":{"rendered":"<p><\/p>\n<p style=\"text-align: justify;\">I often hear about how to change the language grammar checker in a presentation on all slides at once. In\u00a0text fields it is possible after their creation to\u00a0change the language on the <strong>Review<\/strong> tab, or the status bar, but this change is not reflected to\u00a0the other text boxes. Such long work\u00a0is perhaps not fun, and therefore there is this tutorial\u00a0with working way. \ud83d\ude42<\/p>\n<p style=\"text-align: justify;\">To achieve the desired changes of language on all slides, we need to\u00a0create a macro, which is the code in VBA (<em>Visual Basic for Applications<\/em>). Macro in most cases, will resolve what normal process solution does not. You can get into an environment for creating macros through the <strong>Developer tab<\/strong>, but much faster is the combination <strong>ALT + F11<\/strong> to\u00a0let us\u00a0in VBA editor.<\/p>\n<p style=\"text-align: justify;\">Now we set a new module according to the picture below.<\/p>\n<figure id=\"attachment_1932\" aria-describedby=\"caption-attachment-1932\" style=\"width: 559px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"size-full wp-image-1932\" src=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2013\/08\/vba_1.png\" alt=\"Tvorba makra\" width=\"559\" height=\"436\" title=\"\" srcset=\"https:\/\/www.itlektor.cz\/wp-content\/uploads\/2013\/08\/vba_1.png 559w, https:\/\/www.itlektor.cz\/wp-content\/uploads\/2013\/08\/vba_1-300x234.png 300w, https:\/\/www.itlektor.cz\/wp-content\/uploads\/2013\/08\/vba_1-308x240.png 308w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><figcaption id=\"caption-attachment-1932\" class=\"wp-caption-text\">Creation of a\u00a0module<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Inside the text area\u00a0so called\u00a0<em>module<\/em>,\u00a0that we just created, insert following code,\u00a0you can copy directly from this site:-).<\/p>\n<pre lang=\"vb\" line=\"1\">Sub english()\r\nPocetSnimku = ActivePresentation.Slides.Count\r\nFor s = 1 To PocetSnimku\r\nPocetPoli = ActivePresentation.Slides(s).Shapes.Count\r\nFor p = 1 To PocetPoli\r\nIf ActivePresentation.Slides(s).Shapes(p).HasTextFrame Then\r\nActivePresentation.Slides(s).Shapes(p).TextFrame.TextRange _\r\n.LanguageID = msoLanguageIDEnglishUK\r\nEnd If\r\nNext p\r\nNext s\r\nEnd Sub\r\n\r\nSub cesky()\r\nPocetSnimku = ActivePresentation.Slides.Count\r\nFor s = 1 To PocetSnimku\r\nPocetPoli = ActivePresentation.Slides(s).Shapes.Count\r\nFor p = 1 To PocetPoli\r\nIf ActivePresentation.Slides(s).Shapes(p).HasTextFrame Then\r\nActivePresentation.Slides(s).Shapes(p).TextFrame.TextRange _\r\n.LanguageID = msoLanguageIDCzech\r\nEnd If\r\nNext p\r\nNext s\r\nEnd Sub\r\n<\/pre>\n<p style=\"text-align: justify;\">To be able to use the macro, save the file as a slide show with macros support, ending <strong>PPTM<\/strong> and then we can run the macro via the <strong>View tab<\/strong>, where on the ride side\u00a0can be found <strong>Macros\u00a0<\/strong>button. Our two macros for Czech and English language grammar checker\u00a0will\u00a0change the settings on all slides. We launch the Macro at the moment when all texts are already prepared on the slides. Thank for the inspiration to my colleague <a href=\"http:\/\/www.luciemarakova.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Lucie\u00a0Ma\u0159\u00e1kov\u00e1<\/a>.<\/p>\n<p style=\"text-align: justify;\">If this guide has helped you, become a fan on <a href=\"http:\/\/www.facebook.com\/itlektorcz\" target=\"_blank\" rel=\"noopener\">Facebook<\/a> and recommend this site to your friends, it\u00a0can be useful for them too.<\/p>\n<p><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>I often hear about how to change the language grammar checker in a presentation on all slides at once. In\u00a0text fields it is possible after their creation to\u00a0change the language on the Review tab, or the status bar, but this change is not reflected to\u00a0the other text boxes. Such long work\u00a0is perhaps not fun, and [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":1932,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[6],"tags":[58,50,44],"_links":{"self":[{"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/posts\/1931"}],"collection":[{"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/comments?post=1931"}],"version-history":[{"count":0,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/posts\/1931\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/media\/1932"}],"wp:attachment":[{"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/media?parent=1931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/categories?post=1931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itlektor.cz\/en\/wp-json\/wp\/v2\/tags?post=1931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}