{"id":325154,"date":"2024-05-21T21:30:59","date_gmt":"2024-05-21T13:30:59","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/325154.html"},"modified":"2024-05-21T21:31:14","modified_gmt":"2024-05-21T13:31:14","slug":"word%e4%b8%ad%e6%b1%82%e5%92%8c%e5%85%ac%e5%bc%8f%e6%80%8e%e4%b9%88%e6%89%93","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/325154.html","title":{"rendered":"word\u4e2d\u6c42\u548c\u516c\u5f0f\u600e\u4e48\u6253"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25132929\/566e26fb-8e8f-4e6d-999c-ab7b9b569068.webp\" alt=\"word\u4e2d\u6c42\u548c\u516c\u5f0f\u600e\u4e48\u6253\" \/><\/p>\n<p><p>\u5728Word\u4e2d\u4f7f\u7528\u6c42\u548c\u516c\u5f0f\u53ef\u4ee5\u8ba9\u4f60\u8f7b\u677e\u5730\u5bf9\u8868\u683c\u4e2d\u7684\u6570\u636e\u8fdb\u884c\u6c42\u548c\u64cd\u4f5c\u3002\u5177\u4f53\u6765\u8bf4\uff0c<strong>\u4e3b\u8981\u53ef\u4ee5\u901a\u8fc7\u63d2\u5165\u5b57\u6bb5\u4ee3\u7801\u3001\u4f7f\u7528\u8868\u683c\u5de5\u5177\u4e2d\u7684\u516c\u5f0f\u529f\u80fd\u3001\u6216\u5229\u7528Word\u7684\u9ad8\u7ea7\u529f\u80fd\u5982VBA\u811a\u672c<\/strong>\u6765\u5b9e\u73b0\u3002\u6700\u76f4\u63a5\u4e14\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u8868\u683c\u5de5\u5177\u4e2d\u7684\u516c\u5f0f\u529f\u80fd\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u9700\u8981\u7528\u6237\u5177\u5907\u7f16\u7a0b\u77e5\u8bc6\uff0c\u53ea\u9700\u51e0\u4e2a\u7b80\u5355\u6b65\u9aa4\u5373\u53ef\u5b8c\u6210\u6c42\u548c\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528\u8868\u683c\u5de5\u5177\u4e2d\u7684\u516c\u5f0f\u529f\u80fd<\/strong>\uff0c\u9996\u5148\uff0c\u4f60\u9700\u8981\u5728Word\u6587\u6863\u4e2d\u521b\u5efa\u6216\u5b9a\u4f4d\u5230\u4e00\u4e2a\u5df2\u6709\u7684\u8868\u683c\u3002\u7136\u540e\uff0c\u5728\u8868\u683c\u4e2d\u9009\u62e9\u4f60\u60f3\u8981\u663e\u793a\u6c42\u548c\u7ed3\u679c\u7684\u5355\u5143\u683c\u3002\u63a5\u4e0b\u6765\uff0c\u5207\u6362\u5230\u201c\u5e03\u5c40\u201d\u9009\u9879\u5361\uff0c\u5728\u201c\u6570\u636e\u201d\u7ec4\u4e2d\u627e\u5230\u5e76\u70b9\u51fb\u201c\u516c\u5f0f\u201d\u3002\u5728\u5f39\u51fa\u7684\u516c\u5f0f\u5bf9\u8bdd\u6846\u4e2d\uff0c\u5982\u679c\u4f60\u8981\u5bf9\u4e0a\u65b9\u7684\u5355\u5143\u683c\u8fdb\u884c\u6c42\u548c\uff0c\u516c\u5f0f\u4f1a\u9ed8\u8ba4\u663e\u793a\u4e3a<code>=SUM(ABOVE)<\/code>\u3002\u8fd9\u8868\u793a\u5c06\u5bf9\u6240\u9009\u5355\u5143\u683c\u4e0a\u65b9\u7684\u6240\u6709\u5355\u5143\u683c\u8fdb\u884c\u6c42\u548c\u3002\u5982\u679c\u9700\u8981\u5bf9\u5de6\u4fa7\u7684\u5355\u5143\u683c\u6c42\u548c\uff0c\u5219\u53ef\u4ee5\u4fee\u6539\u516c\u5f0f\u4e3a<code>=SUM(LEFT)<\/code>\u3002\u70b9\u51fb\u786e\u5b9a\u540e\uff0c\u6240\u9009\u5355\u5143\u683c\u5c06\u663e\u793a\u51fa\u6c42\u548c\u7ed3\u679c\u3002\u8fd9\u4e2a\u65b9\u6cd5\u7b80\u5355\u6613\u884c\uff0c\u5bf9\u4e8e\u5927\u591a\u6570\u57fa\u672c\u7684\u6c42\u548c\u9700\u6c42\u5df2\u7ecf\u8db3\u591c\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u63d2\u5165\u5b57\u6bb5\u4ee3\u7801\u6c42\u548c<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u57fa\u672c\u6b65\u9aa4<\/strong>\uff1a\u5728Word\u6587\u6863\u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u63d2\u5165\u7279\u5b9a\u7684\u5b57\u6bb5\u4ee3\u7801\u6765\u5b9e\u73b0\u6c42\u548c\u529f\u80fd\u3002\u9996\u5148\uff0c\u5b9a\u4f4d\u5230\u4f60\u60f3\u63d2\u5165\u6c42\u548c\u7ed3\u679c\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u6309\u4e0b<code>Ctrl + F9<\/code>\u952e\uff0c\u8fd9\u5c06\u63d2\u5165\u4e00\u4e2a\u7a7a\u7684\u5b57\u6bb5\u4ee3\u7801\u5927\u62ec\u53f7\u3002\u5728\u8fd9\u5bf9\u5927\u62ec\u53f7\u5185\uff0c\u8f93\u5165\u6c42\u548c\u516c\u5f0f\uff0c\u4f8b\u5982<code>=SUM(\u8868\u683c\u8303\u56f4)<\/code>\uff0c\u4e4b\u540e\u6309\u4e0b<code>F9<\/code>\u952e\u66f4\u65b0\u5b57\u6bb5\u503c\uff0c\u5373\u53ef\u770b\u5230\u6c42\u548c\u7ed3\u679c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8be6\u7ec6\u8bf4\u660e<\/strong>\uff1a\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u66f4\u590d\u6742\u7684\u6587\u6863\u5e03\u5c40\uff0c\u5141\u8bb8\u4f60\u5728\u6587\u6863\u7684\u4efb\u4f55\u4f4d\u7f6e\u63d2\u5165\u6c42\u548c\u7ed3\u679c\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u5728\u8868\u683c\u5916\u7684\u6587\u672c\u4e2d\u5f15\u7528\u8868\u683c\u5185\u7684\u6570\u636e\u8fdb\u884c\u6c42\u548c\u3002\u8fd9\u79cd\u65b9\u5f0f\u76f8\u5bf9\u590d\u6742\uff0c\u9700\u8981\u7528\u6237\u5bf9Word\u7684\u5b57\u6bb5\u4ee3\u7801\u6709\u4e00\u5b9a\u7684\u4e86\u89e3\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u8868\u683c\u5de5\u5177\u4e2d\u7684\u516c\u5f0f\u529f\u80fd<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u64cd\u4f5c\u6b65\u9aa4<\/strong>\uff1a\u5f53\u4f60\u5728Word\u4e2d\u521b\u5efa\u8868\u683c\u540e\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728\u8868\u683c\u7684\u5355\u5143\u683c\u4e2d\u4f7f\u7528\u516c\u5f0f\u529f\u80fd\u8fdb\u884c\u6c42\u548c\u3002\u9009\u62e9\u8868\u683c\u4e2d\u4f60\u60f3\u8981\u663e\u793a\u7ed3\u679c\u7684\u5355\u5143\u683c\uff0c\u7136\u540e\u70b9\u51fb\u201c\u5e03\u5c40\u201d\u9009\u9879\u5361\u4e0b\u7684\u201c\u516c\u5f0f\u201d\u6309\u94ae\uff0c\u9009\u62e9\u6216\u8f93\u5165\u76f8\u5e94\u7684\u6c42\u548c\u516c\u5f0f\uff0c\u5982<code>=SUM(ABOVE)<\/code>\uff0c\u6700\u540e\u70b9\u51fb\u786e\u5b9a\u5373\u53ef\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b9e\u7528\u6280\u5de7<\/strong>\uff1a\u5728\u4f7f\u7528\u516c\u5f0f\u529f\u80fd\u65f6\uff0cWord\u63d0\u4f9b\u4e86\u4e00\u4e9b\u9884\u8bbe\u7684\u516c\u5f0f\uff0c\u5982\u6c42\u548c\u3001\u5e73\u5747\u503c\u7b49\u3002\u4f60\u8fd8\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u516c\u5f0f\uff0c\u6765\u5b9e\u73b0\u5bf9\u7279\u5b9a\u884c\u6216\u5217\u7684\u6c42\u548c\u3002\u6b64\u5916\uff0cWord\u7684\u516c\u5f0f\u529f\u80fd\u8fd8\u652f\u6301\u4e00\u4e9b\u57fa\u672c\u7684\u6570\u5b66\u8fd0\u7b97\uff0c\u4e3a\u5904\u7406\u8868\u683c\u6570\u636e\u63d0\u4f9b\u4e86\u4fbf\u5229\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u5229\u7528VBA\u811a\u672c\u8fdb\u884c\u6c42\u548c<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>VBA\u4ecb\u7ecd<\/strong>\uff1a\u5bf9\u4e8e\u9700\u8981\u8fdb\u884c\u66f4\u590d\u6742\u6570\u636e\u5904\u7406\u7684\u7528\u6237\uff0cWord\u7684VBA\uff08Visual Basic for Applications\uff09\u811a\u672c\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u81ea\u5b9a\u4e49\u529f\u80fd\u3002\u901a\u8fc7\u7f16\u5199VBA\u811a\u672c\uff0c\u53ef\u4ee5\u5b9e\u73b0\u81ea\u52a8\u6c42\u548c\u7b49\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u64cd\u4f5c\u6307\u5357<\/strong>\uff1a\u9996\u5148\uff0c\u9700\u8981\u6253\u5f00Word\u7684\u201c\u5f00\u53d1\u8005\u201d\u5de5\u5177\u680f\u3002\u5982\u679c\u5de5\u5177\u680f\u4e2d\u6ca1\u6709\u201c\u5f00\u53d1\u8005\u201d\u9009\u9879\uff0c\u53ef\u4ee5\u901a\u8fc7\u201c\u6587\u4ef6\u201d\u2192\u201c\u9009\u9879\u201d\u2192\u201c\u81ea\u5b9a\u4e49\u529f\u80fd\u533a\u201d\u6765\u542f\u7528\u3002\u5728\u201c\u5f00\u53d1\u8005\u201d\u9009\u9879\u5361\u4e2d\uff0c\u70b9\u51fb\u201cVisual Basic\u201d\u6253\u5f00VBA\u7f16\u8f91\u5668\uff0c\u7136\u540e\u53ef\u4ee5\u7f16\u5199\u6216\u7c98\u8d34\u76f8\u5e94\u7684\u6c42\u548c\u811a\u672c\u3002\u8fd9\u79cd\u65b9\u6cd5\u9700\u8981\u4e00\u5b9a\u7684\u7f16\u7a0b\u57fa\u7840\uff0c\u4f46\u80fd\u591f\u5b9e\u73b0\u66f4\u52a0\u590d\u6742\u548c\u4e2a\u6027\u5316\u7684\u6570\u636e\u5904\u7406\u9700\u6c42\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u6c42\u548c\u516c\u5f0f\u5728Word\u4e2d\u7684\u5e94\u7528\u6781\u5927\u5730\u65b9\u4fbf\u4e86\u5bf9\u8868\u683c\u6570\u636e\u7684\u5904\u7406\u3002\u65e0\u8bba\u662f\u901a\u8fc7\u8868\u683c\u5de5\u5177\u4e2d\u7684\u516c\u5f0f\u529f\u80fd\u3001\u63d2\u5165\u5b57\u6bb5\u4ee3\u7801\uff0c\u8fd8\u662f\u5229\u7528VBA\u811a\u672c\uff0c\u7528\u6237\u90fd\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u548c\u6280\u80fd\u6c34\u5e73\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u6cd5\u6765\u5b9e\u73b0\u6c42\u548c\u3002\u5bf9\u4e8e\u5927\u591a\u6570\u7528\u6237\u6765\u8bf4\uff0c<strong>\u4f7f\u7528\u8868\u683c\u5de5\u5177\u4e2d\u7684\u516c\u5f0f\u529f\u80fd<\/strong>\u662f\u6700\u76f4\u63a5\u3001\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u3002\u800c\u5bf9\u4e8e\u9700\u8981\u8fdb\u884c\u66f4\u590d\u6742\u6570\u636e\u5904\u7406\u7684\u573a\u666f\uff0c\u5b66\u4e60\u548c\u5e94\u7528\u5b57\u6bb5\u4ee3\u7801\u6216VBA\u811a\u672c\u4f1a\u662f\u4e00\u4e2a\u503c\u5f97\u8003\u8651\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u5728Microsoft Word\u4e2d\u4f7f\u7528\u6c42\u548c\u516c\u5f0f\uff1f<\/strong><br \/>\n\u5728Microsoft Word\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u8f93\u5165\u548c\u8ba1\u7b97\u6c42\u548c\u516c\u5f0f\u3002\u9996\u5148\uff0c\u5728\u60a8\u5e0c\u671b\u63d2\u5165\u516c\u5f0f\u7684\u4f4d\u7f6e\uff0c\u70b9\u51fb\u201c\u63d2\u5165\u201d\u9009\u9879\u5361\uff0c\u7136\u540e\u9009\u62e9\u201c\u5bf9\u8c61\u201d\u4e0b\u7684\u201c\u516c\u5f0f\u201d\u3002\u5728\u5f39\u51fa\u7684\u516c\u5f0f\u7f16\u8f91\u5668\u4e2d\uff0c\u60a8\u53ef\u4ee5\u8f93\u5165\u6c42\u548c\u516c\u5f0f\u7684\u5404\u4e2a\u90e8\u5206\uff0c\u4f8b\u5982\u6c42\u548c\u7b26\u53f7\u2211\uff0c\u53d8\u91cf\u548c\u8303\u56f4\u3002\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u6309\u94ae\u5373\u53ef\u63d2\u5165\u6c42\u548c\u516c\u5f0f\u3002<\/p>\n<p><strong>2. \u5982\u4f55\u5728Word\u4e2d\u4f7f\u7528\u6c42\u548c\u516c\u5f0f\u8fdb\u884c\u6570\u636e\u5206\u6790\uff1f<\/strong><br \/>\n\u5728Microsoft Word\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u6c42\u548c\u516c\u5f0f\u8fdb\u884c\u6570\u636e\u5206\u6790\u3002\u5047\u8bbe\u60a8\u6709\u4e00\u5217\u6570\u5b57\u6570\u636e\u9700\u8981\u6c42\u548c\uff0c\u60a8\u53ef\u4ee5\u5728Word\u4e2d\u4f7f\u7528\u6c42\u548c\u516c\u5f0f\u6765\u8ba1\u7b97\u603b\u548c\u3002\u9996\u5148\uff0c\u5728\u6240\u9700\u4f4d\u7f6e\u63d2\u5165\u516c\u5f0f\uff0c\u7136\u540e\u4f7f\u7528\u6c42\u548c\u7b26\u53f7\u2211\u8f93\u5165\u6570\u636e\u8303\u56f4\u3002\u60a8\u8fd8\u53ef\u4ee5\u6dfb\u52a0\u6761\u4ef6\u6765\u7b5b\u9009\u6570\u636e\u5e76\u8fdb\u884c\u6c42\u548c\u3002\u5b8c\u6210\u540e\uff0c\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u6309\u94ae\u5373\u53ef\u5f97\u5230\u6c42\u548c\u7ed3\u679c\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u5728Word\u4e2d\u63d2\u5165\u591a\u4e2a\u6c42\u548c\u516c\u5f0f\uff1f<\/strong><br \/>\n\u5982\u679c\u60a8\u9700\u8981\u5728Microsoft Word\u4e2d\u63d2\u5165\u591a\u4e2a\u6c42\u548c\u516c\u5f0f\uff0c\u53ef\u4ee5\u4f7f\u7528\u590d\u5236\u548c\u7c98\u8d34\u7684\u65b9\u6cd5\u6765\u5feb\u901f\u63d2\u5165\u3002\u9996\u5148\uff0c\u5728\u9700\u8981\u63d2\u5165\u6c42\u548c\u516c\u5f0f\u7684\u4f4d\u7f6e\u63d2\u5165\u7b2c\u4e00\u4e2a\u516c\u5f0f\u3002\u7136\u540e\uff0c\u9009\u4e2d\u8be5\u516c\u5f0f\uff0c\u4f7f\u7528\u590d\u5236\uff08Ctrl+C\uff09\u548c\u7c98\u8d34\uff08Ctrl+V\uff09\u7684\u5feb\u6377\u952e\uff0c\u5728\u9700\u8981\u7684\u4f4d\u7f6e\u91cd\u590d\u7c98\u8d34\u3002\u6bcf\u6b21\u7c98\u8d34\u540e\uff0c\u60a8\u53ef\u4ee5\u4fee\u6539\u516c\u5f0f\u7684\u53c2\u6570\u548c\u8303\u56f4\u4ee5\u9002\u5e94\u60a8\u7684\u9700\u6c42\u3002\u8fd9\u6837\uff0c\u60a8\u53ef\u4ee5\u5728\u540c\u4e00\u6587\u6863\u4e2d\u63d2\u5165\u591a\u4e2a\u6c42\u548c\u516c\u5f0f\uff0c\u8fdb\u884c\u66f4\u591a\u7684\u6570\u636e\u5206\u6790\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Word\u4e2d\u4f7f\u7528\u6c42\u548c\u516c\u5f0f\u53ef\u4ee5\u8ba9\u4f60\u8f7b\u677e\u5730\u5bf9\u8868\u683c\u4e2d\u7684\u6570\u636e\u8fdb\u884c\u6c42\u548c\u64cd\u4f5c\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u4e3b\u8981\u53ef\u4ee5\u901a\u8fc7\u63d2\u5165\u5b57\u6bb5\u4ee3\u7801\u3001\u4f7f\u7528\u8868\u683c [&hellip;]","protected":false},"author":3,"featured_media":325176,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/325154"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=325154"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/325154\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/325176"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=325154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=325154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=325154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}