{"id":5486,"date":"2015-03-31T17:42:23","date_gmt":"2015-03-31T08:42:23","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=5486"},"modified":"2015-03-31T17:42:23","modified_gmt":"2015-03-31T08:42:23","slug":"%e9%a1%9e%e4%bc%bc%e3%81%97%e3%81%9f%e6%9b%b8%e5%bc%8f%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%82%92%e9%81%b8%e6%8a%9e%e3%81%99%e3%82%8bword%e3%83%9e%e3%82%af%e3%83%ad%e4%b8%89%e7%a8%ae","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=5486","title":{"rendered":"\u985e\u4f3c\u3057\u305f\u66f8\u5f0f\u306e\u6587\u5b57\u5217\u3092\u9078\u629e\u3059\u308bWord\u30de\u30af\u30ed\u4e09\u7a2e"},"content":{"rendered":"<p>Word\u306b\u306f\u3001\u9078\u629e\u4e2d\u306e\u6587\u5b57\u5217\u3068\u4f3c\u305f\u66f8\u5f0f\u306e\u6587\u5b57\u5217\u3092\u4e00\u62ec\u9078\u629e\u3059\u308b\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u985e\u4f3c\u3057\u305f\u66f8\u5f0f\u306e\u6587\u5b57\u5217\u3092\u9078\u629e<\/span>\u300d\u30b3\u30de\u30f3\u30c9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059(Word 2010\u306e\u5834\u5408\u306f \u30db\u30fc\u30e0\u30bf\u30d6\u2192\u7de8\u96c6\u30b0\u30eb\u30fc\u30d7\u2192\u9078\u629e \u304b\u3089\u5b9f\u884c)\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Word_SelectSimilarFormatting_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Word_SelectSimilarFormatting_01.jpg\" alt=\"Word_SelectSimilarFormatting_01\" width=\"224\" height=\"164\" class=\"alignnone size-full wp-image-5487\" \/><\/a><\/p>\n<p>\u4eca\u56de\u306f\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u30de\u30af\u30ed\u304b\u3089\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u30923\u7a2e\u985e\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample1()\r\n  Application.Run &quot;SelectSimilarFormatting&quot;\r\nEnd Sub\r\n\r\nPublic Sub Sample2()\r\n  Application.CommandBars.FindControl(ID:=5946).Execute\r\nEnd Sub\r\n\r\nPublic Sub Sample3()\r\n  Application.CommandBars.ExecuteMso &quot;SelectTextWithSimilarFormatting&quot;\r\nEnd Sub<\/pre>\n<p>Application\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/ff838935.aspx\" title=\"Run \u30e1\u30bd\u30c3\u30c9 (Word)(\u6a5f\u68b0\u7ffb\u8a33)\" target=\"_blank\">Run\u30e1\u30bd\u30c3\u30c9<\/a>\u3001CommandBarButton(CommandBarControl)\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/ff860604.aspx\" title=\"CommandBarButton.Execute \u30e1\u30bd\u30c3\u30c9 (Office)\" target=\"_blank\">Execute\u30e1\u30bd\u30c3\u30c9<\/a>\u3001CommandBars\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e<a href=\"https:\/\/msdn.microsoft.com\/ja-jp\/library\/ff862419.aspx\" title=\"CommandBars.ExecuteMso \u30e1\u30bd\u30c3\u30c9 (Office)\" target=\"_blank\">ExecuteMso\u30e1\u30bd\u30c3\u30c9<\/a>\u3092\u4f7f\u3046\u65b9\u6cd5\u3067\u3001\u3069\u306e\u65b9\u6cd5\u3067\u3082\u7d50\u679c\u306f\u540c\u3058\u3067\u3059\u3002<\/p>\n<p>\u4e0b\u8a18\u306e\u3088\u3046\u306b\u66f8\u5f0f\u3092\u5909\u66f4\u3057\u305f\u308a\u3001\u30af\u30ea\u30a2\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001\u6b63\u76f4\u3001\u4f7f\u3044\u52dd\u624b\u306f\u3042\u307e\u308a\u3088\u304f\u3042\u308a\u307e\u305b\u3093\u30fb\u30fb\u30fb\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample01()\r\n  Application.Run &quot;SelectSimilarFormatting&quot;\r\n  Selection.Font.Bold = True\r\nEnd Sub\r\n\r\nPublic Sub Sample02()\r\n  Application.Run &quot;SelectSimilarFormatting&quot;\r\n  Selection.ClearFormatting\r\nEnd Sub<\/pre>\n<p>\u4eca\u56de\u306f\u3001\u3053\u3046\u3044\u3063\u305f\u3053\u3068\u3082\u4e00\u5fdc\u3067\u304d\u308b\u3093\u3060\u3001\u3068\u3044\u3046\u6a5f\u80fd\u306e\u7d39\u4ecb\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Word\u306b\u306f\u3001\u9078\u629e\u4e2d\u306e\u6587\u5b57\u5217\u3068\u4f3c\u305f\u66f8\u5f0f\u306e\u6587\u5b57\u5217\u3092\u4e00\u62ec\u9078\u629e\u3059\u308b\u300c\u985e\u4f3c\u3057\u305f\u66f8\u5f0f\u306e\u6587\u5b57\u5217\u3092\u9078\u629e\u300d\u30b3\u30de\u30f3\u30c9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059(Word 2010\u306e\u5834\u5408\u306f \u30db\u30fc\u30e0\u30bf\u30d6\u2192\u7de8\u96c6\u30b0\u30eb\u30fc\u30d7\u2192\u9078\u629e \u304b\u3089\u5b9f\u884c)\u3002 \u4eca\u56de\u306f\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u30de\u30af\u30ed\u304b [&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":"\u6b63\u76f4\u30b9\u30bf\u30a4\u30eb\u306e\u8a2d\u5b9a \u2192 \u4e00\u62ec\u5909\u66f4\u3057\u305f\u65b9\u304c\u4f7f\u3044\u3084\u3059\u3044\u3057\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u3057\u3084\u3059\u3044\u3067\u3059\u2026\u3002 [\u985e\u4f3c\u3057\u305f\u66f8\u5f0f\u306e\u6587\u5b57\u5217\u3092\u9078\u629e\u3059\u308bWord\u30de\u30af\u30ed\u4e09\u7a2e]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,49],"tags":[],"class_list":["post-5486","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-1qu","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5486","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=5486"}],"version-history":[{"count":2,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5486\/revisions"}],"predecessor-version":[{"id":5489,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5486\/revisions\/5489"}],"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=5486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}