{"id":3740,"date":"2024-03-01T10:15:00","date_gmt":"2024-03-01T02:15:00","guid":{"rendered":"https:\/\/www.aoisnow.net\/blog\/?p=3740"},"modified":"2025-05-31T17:40:30","modified_gmt":"2025-05-31T09:40:30","slug":"day-6604-word-%e4%b8%ad%e5%8f%96%e6%b6%88%e8%87%aa%e5%8a%a8%e6%9b%b4%e6%96%b0%e6%a0%bc%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/www.aoisnow.net\/blog\/archives\/3740","title":{"rendered":"Day 6604 Word \u4e2d\u53d6\u6d88\u81ea\u52a8\u66f4\u65b0\u683c\u5f0f"},"content":{"rendered":"\n<p>\u5728 Word \u4e2d\u7f16\u8f91\u6587\u6863\u65f6\uff0c\u7531\u4e8e\u5404\u79cd\u5404\u6837\u7684\u539f\u56e0\uff08\u5c24\u4ee5\u5916\u6765\u6587\u6863\u5c45\u591a\uff09\uff0c\u603b\u4f1a\u5728\u5f55\u5165\u4e00\u90e8\u5206\u5185\u5bb9\u540e\u4e00\u6309\u56de\u8f66\uff0c\u5168\u6587\u7684\u90e8\u5206\u5185\u5bb9\u5c31\u4f1a\u53d8\u6362\u4e3a\u7279\u5b9a\u7684\u683c\u5f0f\uff08\u4f8b\u5982\u5168\u90e8\u53d8\u6210\u5fae\u8f6f\u96c5\u9ed1\u3001\u81ea\u52a8\u7f29\u8fdb\u7b49\u7b49\uff09\uff0c\u800c\u6709\u65f6\u5e76\u4e0d\u9700\u8981\u5b83\u8fd9\u6837\u591a\u6b64\u4e00\u4e3e\u2014\u2014\u5c24\u5176\u662f\u5728\u4fee\u6539\u4e00\u4e9b\u957f\u6587\u6863\u65f6\u7279\u522b\u70e6\u4eba\u3002<\/p>\n\n\n\n<p>\u591a\u6570\u89e3\u51b3\u65b9\u6cd5\u4f1a\u8981\u6c42\u53bb Word \u7684\u9009\u9879\u4e2d\u5173\u95ed\u201c\u6b63\u6587\u201d\u6837\u5f0f\u7684\u81ea\u52a8\u66f4\u65b0\uff0c\u4f46\u7ecf\u5c1d\u8bd5\u6548\u679c\u4e0d\u5f70\uff0c\u7ecf\u641c\u7d22\uff0c\u627e\u5230\u4e00\u5219\u901a\u8fc7 VBA \u4e00\u6b21\u6027\u5173\u95ed\u6240\u6709\u5f53\u524d\u6587\u6863\u5185\u7f6e\u6837\u5f0f\u81ea\u52a8\u66f4\u65b0\u7684\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"Sub \u6e05\u9664\u81ea\u52a8\u5957\u7528\u683c\u5f0f()\n  Dim update As Style\n  Set Updates = ActiveDocument.Styles\n  For Each update In Updates\n    If update.Type = wdStyleTypeParagraph Then\n      update.AutomaticallyUpdate = False\n    End If\n  Next\nEnd Sub\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #81A1C1\">Sub <\/span><span style=\"color: #D8DEE9FF\">\u6e05\u9664\u81ea\u52a8\u5957\u7528\u683c\u5f0f<\/span><span style=\"color: #ECEFF4\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #81A1C1\">Dim<\/span><span style=\"color: #D8DEE9\"> update <\/span><span style=\"color: #81A1C1\">As<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">Style<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #81A1C1\">Set <\/span><span style=\"color: #D8DEE9\">Updates<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> ActiveDocument.Styles<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #81A1C1\">For<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">Each<\/span><span style=\"color: #D8DEE9FF\"> update In Updates<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">If<\/span><span style=\"color: #D8DEE9FF\"> update.<\/span><span style=\"color: #D8DEE9\">Type<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9\"> wdStyleTypeParagraph<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">Then<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">      update.<\/span><span style=\"color: #D8DEE9\">AutomaticallyUpdate<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">= False<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">End If<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">  <\/span><span style=\"color: #81A1C1\">Next<\/span><\/span>\n<span class=\"line\"><span style=\"color: #81A1C1\">End Sub<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5c06\u4e0a\u8ff0\u4ee3\u7801\u4fdd\u5b58\u5728\u901a\u7528\u6a21\u677f Normal.dotm \u4e2d\uff0c\u5373\u53ef\u5728\u4efb\u610f\u6587\u6863\u4e2d\u8fdb\u884c\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>\u6b64\u5904\u5047\u8bbe\u8bfb\u8005\u4e86\u89e3\u5982\u4f55\u901a\u8fc7\u5185\u7f6e\u7684 VBA \u7f16\u8f91\u5668\u5411 Normal.dotm \u4e2d\u6dfb\u52a0\u5b8f\uff0c\u76f8\u5173\u64cd\u4f5c\u6b65\u9aa4\u8bf7\u53e6\u884c\u641c\u7d22\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Word \u4e2d\u7f16\u8f91\u6587\u6863\u65f6\uff0c\u7531\u4e8e\u5404\u79cd\u5404\u6837\u7684\u539f\u56e0\uff08\u5c24\u4ee5\u5916\u6765\u6587\u6863\u5c45\u591a\uff09\uff0c\u603b\u4f1a\u5728\u5f55\u5165\u4e00\u90e8\u5206\u5185\u5bb9\u540e\u4e00\u6309\u56de\u8f66\uff0c\u5168\u6587\u7684\u90e8\u5206 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-3740","post","type-post","status-publish","format-standard","hentry","category-sketch"],"_links":{"self":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/3740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/comments?post=3740"}],"version-history":[{"count":8,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/3740\/revisions"}],"predecessor-version":[{"id":3897,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/posts\/3740\/revisions\/3897"}],"wp:attachment":[{"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/media?parent=3740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/categories?post=3740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aoisnow.net\/blog\/wp-json\/wp\/v2\/tags?post=3740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}