{"id":4483,"date":"2014-06-03T15:04:16","date_gmt":"2014-06-03T06:04:16","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=4483"},"modified":"2014-06-03T15:04:16","modified_gmt":"2014-06-03T06:04:16","slug":"%e3%80%8c%e5%a4%89%e6%9b%b4%e5%b1%a5%e6%ad%b4%e3%81%a8%e3%82%b3%e3%83%a1%e3%83%b3%e3%83%88%e3%81%ae%e8%a1%a8%e7%a4%ba%e3%80%8d%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8bword%e3%83%9e%e3%82%af","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=4483","title":{"rendered":"\u300c\u5909\u66f4\u5c65\u6b74\u3068\u30b3\u30e1\u30f3\u30c8\u306e\u8868\u793a\u300d\u3092\u8a2d\u5b9a\u3059\u308bWord\u30de\u30af\u30ed"},"content":{"rendered":"<p>Microsoft \u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u5909\u66f4\u5c65\u6b74\u3068\u30b3\u30e1\u30f3\u30c8\u306e\u8868\u793a<\/span>\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u81ea\u52d5\u7684\u306b\u8a2d\u5b9a\u3057\u305f\u3044\u3001\u3068\u306e\u8cea\u554f\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u30de\u30af\u30ed\u3067\u306e\u51e6\u7406\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><strong>\u30fbword2010\u3067\u3001\u5909\u66f4\u5c65\u6b74\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4fdd\u5b58\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f &#8211; \u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8 \u30b3\u30df\u30e5\u30cb\u30c6\u30a3<\/strong><br \/>\n<a href=\"http:\/\/answers.microsoft.com\/thread\/22d3a6ec-4650-43f1-9f55-661b2a805612\" title=\"word2010\u3067\u3001\u5909\u66f4\u5c65\u6b74\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4fdd\u5b58\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f - \u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8 \u30b3\u30df\u30e5\u30cb\u30c6\u30a3\" target=\"_blank\">http:\/\/answers.microsoft.com\/thread\/22d3a6ec-4650-43f1-9f55-661b2a805612<\/a><\/p>\n<p>\u5909\u66f4\u5c65\u6b74\u3068\u30b3\u30e1\u30f3\u30c8\u306e\u8868\u793a\u30e1\u30cb\u30e5\u30fc\u306e\u5404\u9805\u76ee(toggleButton)\u306b\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u30b3\u30f3\u30c8\u30ed\u30fc\u30ebID\u304c\u5272\u308a\u632f\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<table>\n<tr>\n<td>\u30b3\u30e1\u30f3\u30c8<\/td>\n<td>ReviewShowComments<\/td>\n<\/tr>\n<tr>\n<td>\u30a4\u30f3\u30af<\/td>\n<td>ReviewShowInkMarkup<\/td>\n<\/tr>\n<tr>\n<td>\u633f\u5165\u3068\u524a\u9664<\/td>\n<td>ReviewShowInsertionsAndDeletions<\/td>\n<\/tr>\n<tr>\n<td>\u66f8\u5f0f\u8a2d\u5b9a<\/td>\n<td>ReviewShowFormatting<\/td>\n<\/tr>\n<tr>\n<td>\u5439\u304d\u51fa\u3057\u8868\u793a\u9818\u57df\u306e\u80cc\u666f\u8272<\/td>\n<td>ReviewShowMarkupAreaHighlight<\/td>\n<\/tr>\n<tr>\n<td>\u5909\u66f4\u5c65\u6b74\u3092\u5439\u304d\u51fa\u3057\u306b\u8868\u793a<\/td>\n<td>ReviewShowRevisionsInBalloons<\/td>\n<\/tr>\n<tr>\n<td>\u3059\u3079\u3066\u306e\u5909\u66f4\u5c65\u6b74\u3092\u672c\u6587\u4e2d\u306b\u8868\u793a<\/td>\n<td>ReviewShowRevisionsInline<\/td>\n<\/tr>\n<tr>\n<td>\u30b3\u30e1\u30f3\u30c8\/\u66f8\u5f0f\u306e\u307f\u5439\u304d\u51fa\u3057\u306b\u8868\u793a<\/td>\n<td>ReviewShowOnlyCommentsAndFormattingInBaloons<\/td>\n<\/tr>\n<tr>\n<td>\u66f4\u65b0\u7b87\u6240\u306e\u5f37\u8abf\u8868\u793a<\/td>\n<td>ReviewHighlightUpdates<\/td>\n<\/tr>\n<tr>\n<td>\u305d\u306e\u4ed6\u306e\u6821\u95b2\u8005<\/td>\n<td>ReviewOtherAuthors<\/td>\n<\/tr>\n<\/table>\n<p>\u305d\u306e\u305f\u3081\u3001<span style=\"color: #ff0000; font-weight: bold;\">GetPressedMso<\/span>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3048\u3070\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u304c\u73fe\u5728\u62bc\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u304c\u53d6\u5f97\u3067\u304d\u308b\u306e\u3067\u3001\u72b6\u614b\u3092\u53d6\u5f97\u3057\u305f\u4e0a\u3067<span style=\"color: #ff0000; font-weight: bold;\">ExecuteMso<\/span>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3048\u3070\u3001\u5404\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u72b6\u614b\u3092\u81ea\u7531\u306b\u8a2d\u5b9a\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u8003\u3048\u305f\u306e\u304c\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nPublic Sub SetReviewShowMarkupMenu()\r\n'\u5909\u66f4\u5c65\u6b74\u3068\u30b3\u30e1\u30f3\u30c8\u306e\u8868\u793a\u8a2d\u5b9a\r\n  ToggleControl &quot;ReviewShowComments&quot;, False '\u30b3\u30e1\u30f3\u30c8\r\n  ToggleControl &quot;ReviewShowInkMarkup&quot;, True '\u30a4\u30f3\u30af\r\n  ToggleControl &quot;ReviewShowInsertionsAndDeletions&quot;, True '\u633f\u5165\u3068\u524a\u9664\r\n  ToggleControl &quot;ReviewShowFormatting&quot;, False '\u66f8\u5f0f\u8a2d\u5b9a\r\n  ToggleControl &quot;ReviewShowMarkupAreaHighlight&quot;, False '\u5439\u304d\u51fa\u3057\u8868\u793a\u9818\u57df\u306e\u80cc\u666f\u8272\r\n  ToggleControl &quot;ReviewShowRevisionsInBalloons&quot;, False '\u5909\u66f4\u5c65\u6b74\u3092\u5439\u304d\u51fa\u3057\u306b\u8868\u793a\r\n  ToggleControl &quot;ReviewShowRevisionsInline&quot;, False '\u3059\u3079\u3066\u306e\u5909\u66f4\u5c65\u6b74\u3092\u672c\u6587\u4e2d\u306b\u8868\u793a\r\n  ToggleControl &quot;ReviewShowOnlyCommentsAndFormattingInBaloons&quot;, True '\u30b3\u30e1\u30f3\u30c8\/\u66f8\u5f0f\u306e\u307f\u5439\u304d\u51fa\u3057\u306b\u8868\u793a\r\n  ToggleControl &quot;ReviewHighlightUpdates&quot;, True '\u66f4\u65b0\u7b87\u6240\u306e\u5f37\u8abf\u8868\u793a\r\n  'ToggleControl &quot;ReviewOtherAuthors&quot;, True '\u305d\u306e\u4ed6\u306e\u6821\u95b2\u8005\r\nEnd Sub\r\n\r\nPrivate Sub ToggleControl(ByVal idMso As String, ByVal flg As Boolean)\r\n'\u6307\u5b9a\u3057\u305f\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb(ToggleButton)\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308b\r\n  Select Case Application.CommandBars.GetPressedMso(idMso)\r\n    Case True: If flg = True Then Exit Sub\r\n    Case False: If flg = False Then Exit Sub\r\n  End Select\r\n  Application.CommandBars.ExecuteMso idMso\r\nEnd Sub<\/pre>\n<p>\u4e0a\u8a18SetReviewShowMarkupMenu\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u4e0b\u56f3\u306e\u3088\u3046\u306b\u300c<strong>\u30a4\u30f3\u30af<\/strong>\u300d\u300c<strong>\u633f\u5165\u3068\u524a\u9664<\/strong>\u300d\u300c<strong>\u66f4\u65b0\u7b87\u6240\u306e\u5f37\u8abf\u8868\u793a<\/strong>\u300d\u306e\u307f\u304c\u30c1\u30a7\u30c3\u30af\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SetReviewShowMarkupMenu_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/SetReviewShowMarkupMenu_01.jpg\" alt=\"SetReviewShowMarkupMenu_01\" width=\"221\" height=\"241\" class=\"alignnone size-full wp-image-4484\" \/><\/a><\/p>\n<p>Word\u8d77\u52d5\u6642(\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u305f\u3068\u304d)\u306b\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001\u30ea\u30dc\u30f3\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u3001customUI\u8981\u7d20\u306eonLoad\u5c5e\u6027\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3067\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u30fb\u30ea\u30dc\u30f3XML<\/strong><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;\r\n&lt;customUI onLoad=&quot;Ribbon_onLoad&quot; xmlns=&quot;http:\/\/schemas.microsoft.com\/office\/2006\/01\/customui&quot; \/&gt;<\/pre>\n<p><strong>\u30fbVBA\u30b3\u30fc\u30c9<\/strong><\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Option Explicit\r\n\r\nPublic Sub Ribbon_onLoad(ribbon As IRibbonUI)\r\n  ToggleControl &quot;ReviewShowComments&quot;, False '\u30b3\u30e1\u30f3\u30c8\r\n  ToggleControl &quot;ReviewShowInkMarkup&quot;, True '\u30a4\u30f3\u30af\r\n  ToggleControl &quot;ReviewShowInsertionsAndDeletions&quot;, True '\u633f\u5165\u3068\u524a\u9664\r\n  ToggleControl &quot;ReviewShowFormatting&quot;, False '\u66f8\u5f0f\u8a2d\u5b9a\r\n  ToggleControl &quot;ReviewShowMarkupAreaHighlight&quot;, False '\u5439\u304d\u51fa\u3057\u8868\u793a\u9818\u57df\u306e\u80cc\u666f\u8272\r\n  ToggleControl &quot;ReviewShowRevisionsInBalloons&quot;, False '\u5909\u66f4\u5c65\u6b74\u3092\u5439\u304d\u51fa\u3057\u306b\u8868\u793a\r\n  ToggleControl &quot;ReviewShowRevisionsInline&quot;, False '\u3059\u3079\u3066\u306e\u5909\u66f4\u5c65\u6b74\u3092\u672c\u6587\u4e2d\u306b\u8868\u793a\r\n  ToggleControl &quot;ReviewShowOnlyCommentsAndFormattingInBaloons&quot;, True '\u30b3\u30e1\u30f3\u30c8\/\u66f8\u5f0f\u306e\u307f\u5439\u304d\u51fa\u3057\u306b\u8868\u793a\r\n  ToggleControl &quot;ReviewHighlightUpdates&quot;, True '\u66f4\u65b0\u7b87\u6240\u306e\u5f37\u8abf\u8868\u793a\r\n  'ToggleControl &quot;ReviewOtherAuthors&quot;, True '\u305d\u306e\u4ed6\u306e\u6821\u95b2\u8005\r\nEnd Sub\r\n\r\nPrivate Sub ToggleControl(ByVal idMso As String, ByVal flg As Boolean)\r\n'\u6307\u5b9a\u3057\u305f\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb(ToggleButton)\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308b\r\n  Select Case Application.CommandBars.GetPressedMso(idMso)\r\n    Case True: If flg = True Then Exit Sub\r\n    Case False: If flg = False Then Exit Sub\r\n  End Select\r\n  Application.CommandBars.ExecuteMso idMso\r\nEnd Sub<\/pre>\n<p>\u30ea\u30dc\u30f3\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u30da\u30fc\u30b8\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>\u30fb\u521d\u5fc3\u8005\u5099\u5fd8\u9332 \u30ea\u30dc\u30f3\u95a2\u9023<\/strong><br \/>\n<a href=\"\/\/www.ka-net.org\/ribbon.html\" title=\"\u521d\u5fc3\u8005\u5099\u5fd8\u9332 \u30ea\u30dc\u30f3\u95a2\u9023\" target=\"_blank\">\/\/www.ka-net.org\/ribbon.html<\/a><br \/>\n<strong>\u30fb\u521d\u5fc3\u8005\u5099\u5fd8\u9332\u30d6\u30ed\u30b0 \u30ea\u30dc\u30f3\u95a2\u9023\u30ab\u30c6\u30b4\u30ea\u30fc<\/strong><br \/>\n<a href=\"\/\/www.ka-net.org\/blog\/?cat=1\" title=\"\u521d\u5fc3\u8005\u5099\u5fd8\u9332\u30d6\u30ed\u30b0 \u30ea\u30dc\u30f3\u95a2\u9023\u30ab\u30c6\u30b4\u30ea\u30fc\" target=\"_blank\">\/\/www.ka-net.org\/blog\/?cat=1<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Microsoft \u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u300c\u5909\u66f4\u5c65\u6b74\u3068\u30b3\u30e1\u30f3\u30c8\u306e\u8868\u793a\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u81ea\u52d5\u7684\u306b\u8a2d\u5b9a\u3057\u305f\u3044\u3001\u3068\u306e\u8cea\u554f\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u30de\u30af\u30ed\u3067\u306e\u51e6\u7406\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u305f\u3002 \u30fbword2010\u3067\u3001\u5909\u66f4\u5c65\u6b74\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4fdd\u5b58\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f [&hellip;]","protected":false},"author":1,"featured_media":7134,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,49],"tags":[],"class_list":["post-4483","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-word-office"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-Word.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-1aj","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4483"}],"version-history":[{"count":1,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4483\/revisions"}],"predecessor-version":[{"id":4485,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4483\/revisions\/4485"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7134"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}