{"id":1757,"date":"2016-01-26T14:45:48","date_gmt":"2016-01-26T06:45:48","guid":{"rendered":"http:\/\/boweihe.me\/?p=1757"},"modified":"2016-01-26T14:45:48","modified_gmt":"2016-01-26T06:45:48","slug":"%e5%88%a0%e9%99%a4word%e4%b8%ad%e7%9a%84%e6%b0%b4%e5%b9%b3%e7%ba%bf%ef%bc%88%e5%88%86%e5%89%b2%e7%ba%bf%ef%bc%89","status":"publish","type":"post","link":"https:\/\/dayandcarrot.space\/?p=1757","title":{"rendered":"\u5220\u9664Word\u4e2d\u7684\u6c34\u5e73\u7ebf\uff08\u5206\u5272\u7ebf\uff09"},"content":{"rendered":"<p>\u5728Word\u79cd\u6709\u4e2a\u5f88SB\u7684\u4e1c\u897f\u53eb\u505a\u6c34\u5e73\u7ebf\/\u5206\u5272\u7ebf\uff0c\u5c31\u662f\u6309\u8fde\u7eed3\u4e2a-\u6216\u8005=\u6216\u8005~\u4e4b\u7c7b\u7684\u5b57\u7b26\u540e\u56de\u8f66\u4f1a\u751f\u6210\u7684\u6c34\u5e73\u7ebf\u3002\u5177\u4f53\u6548\u679c\u89c1<a href=\"http:\/\/office.jb51.net\/word\/4166.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u201cWord\u4e2d\u7b80\u5355\u5feb\u901f\u63d2\u5165\u5404\u79cd\u5206\u9694\u7ebf\u53ca\u5220\u9664\u5206\u5272\u7ebf\u7684\u65b9\u6cd5\u201d<\/a><br \/>\n\u95ee\u9898\u6765\u4e86\uff0c\u5f53\u4f60\u60f3\u8981\u5220\u53bb\u4ed6\u4eec\u7684\u65f6\u5019\uff0c\u6709\u65f6\u5019\u6309del\u952e\u5b8c\u5168\u4e0d\u8d77\u4f5c\u7528\u3002<br \/>\n\u8fd9\u4e2a\u65f6\u5019\uff0c\u6709\u4e2a\u529e\u6cd5\uff0c\u5c31\u662f\u7528VBA\u4ee3\u7801\uff08\u5bf9\uff0c\u90a3\u4e2a\u53e4\u8001\u7684VB\uff09\uff0c\u5177\u4f53\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li>\u6309\u4e0bAlt+F11\u952e\u6253\u5f00VBA\u7f16\u8f91\u5668\uff1b<\/li>\n<li>\u53cc\u51fb\u4e0b\u56fe\u4e2d\u7ea2\u5708\u90e8\u5206\uff08ThisDocument\uff09<a href=\"http:\/\/boweihe.me\/wp-content\/uploads\/2016\/01\/vba_editor_word.jpg\" rel=\"attachment wp-att-1758\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1758\" src=\"http:\/\/boweihe.me\/wp-content\/uploads\/2016\/01\/vba_editor_word.jpg\" alt=\"vba_editor_word\" width=\"682\" height=\"537\" \/><\/a><\/li>\n<li>\u5728\u6253\u5f00\u7684\u4ee3\u7801\u7f16\u8f91\u5668\u4e2d\uff0c\u7c98\u8d34\u8fd9\u4e2a\u4ee3\u7801\n<pre class=\"lang:vb decode:true \">Sub removehline()\n    Dim ils As Paragraph\n    For Each ils In ActiveDocument.Paragraphs\n        ils.Borders(wdBorderBottom).LineStyle =wdLineStyleNone\n    Next ils\nEnd Sub<\/pre>\n<p>&nbsp;<\/li>\n<li>\u70b9\u51fb\u7eff\u8272\u7684\u5c0f\u7bad\u5934\uff0c\u6216\u6309F5\u952e\u8fd0\u884c\u4ee3\u7801\u3002\u641e\u5b9a\uff01<\/li>\n<li>\u8bb0\u5f97\u8fd0\u884c\u5b8c\u540e\u628aVBA\u4ee3\u7801\u5220\u4e86\uff0c\u4e0d\u7136\u4fdd\u5b58\u7684\u65f6\u5019\u4f1a\u63d0\u793a\u5b8f\u554a\u4ec0\u4e48\u7684&#8230;\u7a81\u7136\u60f3\u5230Word97\u65f6\u5019\u7684\u5b8f\u75c5\u6bd2~<\/li>\n<\/ol>\n<p>&nbsp;<br \/>\n\u53c2\u8003\u8d44\u6599\uff1a<a href=\"http:\/\/www.extendoffice.com\/documents\/word\/747-word-remove-all-horizontal-line.html#a2\" target=\"_blank\" rel=\"noopener noreferrer\">How to remove all horizontal lines from Word document?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728Word\u79cd\u6709\u4e2a\u5f88SB\u7684\u4e1c\u897f\u53eb\u505a\u6c34\u5e73\u7ebf\/\u5206\u5272\u7ebf\uff0c\u5c31\u662f\u6309\u8fde\u7eed3\u4e2a-\u6216\u8005=\u6216\u8005~\u4e4b\u7c7b\u7684\u5b57\u7b26\u540e\u56de\u8f66\u4f1a\u751f\u6210\u7684\u6c34\u5e73\u7ebf\u3002\u5177\u4f53\u6548\u679c\u89c1\u201cWord\u4e2d\u7b80\u5355\u5feb\u901f\u63d2\u5165\u5404\u79cd\u5206\u9694\u7ebf\u53ca\u5220\u9664\u5206\u5272\u7ebf\u7684\u65b9\u6cd5\u201d \u95ee\u9898\u6765\u4e86\uff0c\u5f53\u4f60\u60f3\u8981\u5220\u53bb\u4ed6\u4eec\u7684\u65f6\u5019\uff0c\u6709\u65f6\u5019\u6309del\u952e\u5b8c\u5168\u4e0d\u8d77\u4f5c\u7528\u3002 \u8fd9\u4e2a\u65f6\u5019\uff0c\u6709\u4e2a\u529e\u6cd5\uff0c\u5c31\u662f\u7528VBA\u4ee3\u7801\uff08\u5bf9\uff0c\u90a3\u4e2a\u53e4\u8001\u7684VB\uff09\uff0c\u5177\u4f53\u5982\u4e0b\uff1a \u6309\u4e0bAlt+F11\u952e\u6253\u5f00VBA\u7f16\u8f91\u5668\uff1b \u53cc\u51fb\u4e0b\u56fe\u4e2d\u7ea2\u5708\u90e8\u5206\uff08ThisDocument\uff09 \u5728\u6253\u5f00\u7684\u4ee3\u7801\u7f16\u8f91\u5668\u4e2d\uff0c\u7c98\u8d34\u8fd9\u4e2a\u4ee3\u7801 Sub removehline() Dim ils As Paragraph For Each ils In ActiveDocument.Paragraphs ils.Borders(wdBorderBottom).LineStyle =wdLineStyleNone Next ils End Sub &nbsp; \u70b9\u51fb\u7eff\u8272\u7684\u5c0f\u7bad\u5934\uff0c\u6216\u6309F5\u952e\u8fd0\u884c\u4ee3\u7801\u3002\u641e\u5b9a\uff01 \u8bb0\u5f97\u8fd0\u884c\u5b8c\u540e\u628aVBA\u4ee3\u7801\u5220\u4e86\uff0c\u4e0d\u7136\u4fdd\u5b58\u7684\u65f6\u5019\u4f1a\u63d0\u793a\u5b8f\u554a\u4ec0\u4e48\u7684&#8230;\u7a81\u7136\u60f3\u5230Word97\u65f6\u5019\u7684\u5b8f\u75c5\u6bd2~ &nbsp; \u53c2\u8003\u8d44\u6599\uff1aHow to remove all horizontal lines from Word document?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[126],"class_list":["post-1757","post","type-post","status-publish","format-standard","hentry","category-technical","tag-word"],"_links":{"self":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/posts\/1757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1757"}],"version-history":[{"count":0,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=\/wp\/v2\/posts\/1757\/revisions"}],"wp:attachment":[{"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dayandcarrot.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}