{"id":41,"date":"2024-09-19T12:25:45","date_gmt":"2024-09-19T04:25:45","guid":{"rendered":"https:\/\/lilia-study.com\/lang\/eng\/?p=41"},"modified":"2024-09-19T12:27:03","modified_gmt":"2024-09-19T04:27:03","slug":"msgbox","status":"publish","type":"post","link":"https:\/\/lilia-study.com\/lang\/chs\/excel\/excel-vba\/msgbox\/","title":{"rendered":"Excel VBA \u663e\u793a\u6d88\u606f &#8220;MsgBox&#8221; \u51fd\u6570"},"content":{"rendered":"<p><!-- wp:html --><\/p>\n<p><span class=\"icon_point color01\"><\/span>&nbsp;\u672c\u6587\u7531\u65e5\u6587\u8bd1\u6210\u4e2d\u6587\u3002<\/p>\n<p><!-- \/wp:html --><\/p>\n\n\n\n\n<p>Excel <strong>VBA<\/strong>&nbsp;\u4f7f\u7528 \u201cMsgBox \u201d\u51fd\u6570\u5728\u5bf9\u8bdd\u6846\u4e2d\u663e\u793a\u4e00\u6761\u4fe1\u606f\u3002<\/p>\n<p>&#8220;MsgBox&#8221; \u51fd\u6570\u5728\u5bf9\u8bdd\u6846\u4e2d\u663e\u793a\u4e00\u6761\u4fe1\u606f\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u503c\uff0c\u8868\u793a\u70b9\u51fb\u4e86\u54ea\u4e2a\u6309\u94ae\u3002<\/p>\n<p><!-- wp:html --><\/p>\n<p style=\"margin-bottom:0;padding-bottom:0;\">&lt;&nbsp;Sponsored Links&nbsp;&gt;<\/p>\n<p><script async=\"\" src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- lilia top --><br \/>\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-4504956686889525\" data-ad-slot=\"2727563599\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins><br \/>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><br \/>\n<!-- \/wp:html --><\/p>\n\n<h2>\u53e5\u6cd5 &#8220;MsgBox&#8221;\u6587<\/h2>\n<div class=\"box_style box_style_orange\">\n<div class=\"box_inner\">\n<p class=\"b big\">MsgBox(prompt[, buttons] [, title] [, helpfile, context])<\/p>\n<\/div>\n<\/div>\n<p>prompt \uff1d \u4fe1\u606f\u6587\u672c<br>buttons \uff1d \u6309\u94ae\u7c7b\u578b<br>title \uff1d \u5bf9\u8bdd\u6846\u6807\u9898<br>\u6211\u4e0d\u4f7f\u7528 &#8220;helpfile&#8221; \u548c &#8220;context&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lilia-study.com\/img\/excel-vba\/msgbox.webp\" alt=\"msgbox\" width=\"392\" height=\"349\"><\/p>\n<h2>&#8220;buttons&#8221;\u8bbe\u7f6e\u503c<\/h2>\n<p>\u7b2c\u4e00\u7ec4\u662f\u6309\u94ae\u7c7b\u578b<\/p>\n<table cellspacing=\"1\"><colgroup> <col width=\"200\"> <col width=\"80\"> <col><\/colgroup>\n<tbody>\n<tr>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u5e38\u6570<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u503c<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u663e\u793a\u6309\u94ae<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbOKOnly<\/td>\n<td class=\"al-c\">0<\/td>\n<td>&nbsp;[OK]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbOKCancel<\/td>\n<td class=\"al-c\">1<\/td>\n<td>&nbsp;[OK]\u3000[Cancel]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbAbortRetryIgnore<\/td>\n<td class=\"al-c\">2<\/td>\n<td>&nbsp;[\u505c\u6b62]\u3000[\u91cd\u8bd5]\u3000[\u7f6e\u4e4b\u4e0d\u7406]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbYesNoCancel<\/td>\n<td class=\"al-c\">3<\/td>\n<td>&nbsp;[\u662f]\u3000[\u6ca1\u6709]\u3000[\u53d6\u6d88]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbYesNo<\/td>\n<td class=\"al-c\">4<\/td>\n<td>&nbsp;[\u662f]\u3000[\u6ca1\u6709]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbRetryCancel<\/td>\n<td class=\"al-c\">5<\/td>\n<td>&nbsp;[\u91cd\u8bd5]\u3000[\u53d6\u6d88]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u7b2c\u4e8c\u7ec4\u662f\u56fe\u6807\u7c7b\u578b<\/p>\n<table cellspacing=\"1\"><colgroup> <col width=\"200\"> <col width=\"80\"> <col><\/colgroup>\n<tbody>\n<tr>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u5e38\u6570<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u503c<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u8981\u663e\u793a\u7684\u56fe\u6807<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbCritical<\/td>\n<td class=\"al-c\">16<\/td>\n<td>&nbsp;\u8b66\u544a\u4fe1\u606f\u56fe\u6807<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbQuestion<\/td>\n<td class=\"al-c\">32<\/td>\n<td>&nbsp;\u67e5\u8be2\u4fe1\u606f\u56fe\u6807<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbExclamation<\/td>\n<td class=\"al-c\">48<\/td>\n<td>&nbsp;\u6ce8\u610f\u4fe1\u606f\u56fe\u6807<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbInformation<\/td>\n<td class=\"al-c\">3<\/td>\n<td>&nbsp;\u4fe1\u606f\u6d88\u606f\u56fe\u6807<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u7b2c\u4e09\u7ec4\u662f\u54ea\u4e9b\u6309\u94ae\u5e94\u5904\u4e8e\u9009\u5b9a\u72b6\u6001<\/p>\n<table cellspacing=\"1\"><colgroup> <col width=\"200\"> <col width=\"80\"> <col><\/colgroup>\n<tbody>\n<tr>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u5e38\u6570<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u503c<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u6309\u94ae\u9009\u62e9\u72b6\u6001<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbDefaultButton1<\/td>\n<td class=\"al-c\">0<\/td>\n<td>&nbsp;\u9009\u62e9\u7b2c 1 \u4e2a\u6309\u94ae<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbDefaultButton2<\/td>\n<td class=\"al-c\">256<\/td>\n<td>&nbsp;\u9009\u62e9\u7b2c 2 \u4e2a\u6309\u94ae<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbDefaultButton3<\/td>\n<td class=\"al-c\">512<\/td>\n<td>&nbsp;\u9009\u62e9\u7b2c 3 \u4e2a\u6309\u94ae<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbDefaultButton4<\/td>\n<td class=\"al-c\">768<\/td>\n<td>&nbsp;\u9009\u62e9\u7b2c 4 \u4e2a\u6309\u94ae<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u7b2c\u56db\u7ec4\u6307\u5b9a\u65b9\u6846\u662f\u5426\u4e3a\u6a21\u6001\u65b9\u6846<\/p>\n<table cellspacing=\"1\"><colgroup> <col width=\"200\"> <col width=\"80\"> <col><\/colgroup>\n<tbody>\n<tr>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u5e38\u6570<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u503c<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u6a21\u6001<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbApplicationModal<\/td>\n<td class=\"al-c\">0<\/td>\n<td>&nbsp;\u8bbe\u7f6e\u4e3a\u5e94\u7528\u7a0b\u5e8f\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbSystemModal<\/td>\n<td class=\"al-c\">4096<\/td>\n<td>&nbsp;\u8bbe\u7f6e\u4e3a\u7cfb\u7edf\u6a21\u5f0f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u5176\u4ed6\u56e2\u4f53<\/p>\n<table cellspacing=\"1\"><colgroup> <col width=\"200\"> <col width=\"80\"> <col><\/colgroup>\n<tbody>\n<tr>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u5e38\u6570<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u503c<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u76ee\u5f55<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbMsgBoxHelpButton<\/td>\n<td class=\"al-c\">16384<\/td>\n<td>&nbsp;\u6dfb\u52a0\u5e2e\u52a9\u6309\u94ae<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;VbMsgBoxSetForeground<\/td>\n<td class=\"al-c\">65536<\/td>\n<td>&nbsp;\u663e\u793a\u4e3a\u6700\u524d\u9762\u7684\u7a97\u53e3<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbMsgBoxRight<\/td>\n<td class=\"al-c\">524288<\/td>\n<td>&nbsp;\u6587\u672c\u53f3\u5bf9\u9f50<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbMsgBoxRtlReading<\/td>\n<td class=\"al-c\">1048576<\/td>\n<td>&nbsp;\u6587\u5b57\u4ece\u53f3\u5411\u5de6\u6392\u5217<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>\u6307\u5b9a\u4ece\u4e0a\u8ff0\u5404\u7ec4\u4e2d\u6bcf\u6b21\u9009\u62e9\u4e00\u4e2a\u6570\u503c\u76f8\u52a0\u7684\u603b\u548c<\/p>\n<p>&nbsp;<\/p>\n<h2>\u793a\u4f8b &#8220;MsgBox&#8221;<\/h2>\n<ul>\n<li>\u5bf9\u8bdd\u6846\u7684\u6807\u9898\u662f &#8220;MSG Title&#8221;\u3002<\/li>\n<li>\u4fe1\u606f &#8220;\u53f3\u5bf9\u9f50&#8221;\u3002<\/li>\n<li>\u6309\u94ae\u7c7b\u578b\u4e3a &#8220;vbYesNoCancel&#8221;\u3000[\u662f]\u3000[\u6ca1\u6709]\u3000[\u53d6\u6d88]<\/li>\n<li>\u56fe\u6807\u7c7b\u578b &#8220;vbQuestion&#8221; \u8be2\u95ee\u4fe1\u606f\u56fe\u6807<\/li>\n<li>\u6309\u94ae\u9009\u62e9\u72b6\u6001\u4e3a &#8220;vbDefaultButton3&#8221; \u9009\u62e9\u7b2c\u4e09\u4e2a\u6309\u94ae<\/li>\n<li>\u6a21\u5f0f\u72b6\u6001\u4e3a &#8220;vbSystemModal&#8221; \u7cfb\u7edf\u6a21\u5f0f\u72b6\u6001<\/li>\n<li>&#8220;vbMsgBoxRight&#8221; \u4ece\u5176\u4ed6\u7ec4\u5411\u53f3\u5bf9\u9f50\u5b57\u7b26<\/li>\n<\/ul>\n<p>\u5982\u679c\u4f60\u8bbe\u7f6e\u4e86\u8fd9\u4e2a\u3002<\/p>\n<div class=\"box_style box_style04 bdr_gray\">\n<p>Sub test()<br>&nbsp;&nbsp;&nbsp;&nbsp;Dim msg As Integer<br>&nbsp;&nbsp;&nbsp;&nbsp;msg = MsgBox(&#8220;\u53f3\u5bf9\u9f50&#8221;, _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vbYesNoCancel + _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vbQuestion + _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vbDefaultButton3 + _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vbSystemModal + _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vbMsgBoxRight, &#8220;MSG Title&#8221;)<br>End Sub<\/p>\n<\/div>\n<p>\u5982\u4e0b\u56fe\u6240\u793a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lilia-study.com\/img\/excel-vba\/msgbox2.webp\" alt=\"msgbox\" width=\"370\" height=\"212\"><\/p>\n<p>\u987a\u4fbf\u95ee\u4e00\u4e0b\uff0c\u5982\u679c\u6211\u6307\u5b9a\u4e86\u4e00\u4e2a\u5e38\u91cf\u503c\uff0c\u7ed3\u679c\u4f1a\u600e\u6837\uff1f\u6211\u8bd5\u8fc7\u4e86\uff01<\/p>\n<p>vbYesNoCancel \u7684\u503c\u4e3a 3<br>vbQuestion \u7684\u503c\u4e3a 32<br>vbDefaultButton3 \u7684\u503c\u4e3a 512<br>vbSystemModal \u7684\u503c\u4e3a 4096<br>vbMsgBoxRight \u7684\u503c\u4e3a 524288<\/p>\n<p>3 + 32 + 512 + 4096 + 524288 = 528931<\/p>\n<div class=\"box_style box_style04 bdr_gray\">\n<p>Sub test()<br>&nbsp;&nbsp;&nbsp;&nbsp;Dim msg As Integer<br>&nbsp;&nbsp;&nbsp;&nbsp;msg = MsgBox(&#8220;\u53f3\u5bf9\u9f50&#8221;, 528931, &#8220;MSG Title&#8221;)<br>End Sub<\/p>\n<\/div>\n<p>\u7ed3\u679c\u4e0e\u6052\u5b9a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lilia-study.com\/img\/excel-vba\/msgbox2.webp\" alt=\"msgbox\" width=\"370\" height=\"212\"><\/p>\n<p id=\"excelvba-msgbox-modoriti\">&nbsp;<\/p>\n<h3>\u8fd4\u56de\u503c<\/h3>\n<p>\u8fd4\u56de\u4e00\u4e2a\u503c\uff0c\u8868\u793a\u70b9\u51fb\u4e86\u54ea\u4e2a\u6309\u94ae\u3002<\/p>\n<table cellspacing=\"1\"><colgroup> <col width=\"200\"> <col width=\"80\"> <col><\/colgroup>\n<tbody>\n<tr>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u5e38\u6570<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u503c<\/td>\n<td style=\"background-color: #ebebeb;\" class=\"al-c b\">\u8bf4\u660e<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbOK<\/td>\n<td class=\"al-c\">1<\/td>\n<td>&nbsp;[OK]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbCancel<\/td>\n<td class=\"al-c\">2<\/td>\n<td>&nbsp;[Cancel]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbAbort<\/td>\n<td class=\"al-c\">3<\/td>\n<td>&nbsp;[\u505c\u6b62]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbRetry<\/td>\n<td class=\"al-c\">4<\/td>\n<td>&nbsp;[\u91cd\u8bd5]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbIgnore<\/td>\n<td class=\"al-c\">5<\/td>\n<td>&nbsp;[\u7f6e\u4e4b\u4e0d\u7406]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbYes<\/td>\n<td class=\"al-c\">6<\/td>\n<td>&nbsp;[\u662f]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;vbNo<\/td>\n<td class=\"al-c\">7<\/td>\n<td>&nbsp;[\u6ca1\u6709]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8ba9\u6211\u4eec\u628a\u5b83\u6dfb\u52a0\u5230\u4e4b\u524d\u7684\u7a0b\u5e8f\u4e2d<\/p>\n<p class=\"box_style box_style04 bdr_gray\">Sub test()<br>&nbsp;&nbsp;&nbsp;&nbsp;Dim msg As Integer<br>&nbsp;&nbsp;&nbsp;&nbsp;msg = MsgBox(&#8220;\u53f3\u5bf9\u9f50&#8221;, ?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vbYesNoCancel + _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vbQuestion + _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vbDefaultButton3 + _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vbSystemModal + _<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vbMsgBoxRight, &#8220;MSG Title&#8221;)\n<br><br>\n&nbsp;&nbsp;&nbsp;&nbsp;If msg = vbYes Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MsgBox &#8220;\u70b9\u51fb\u662f&#8221;<br>&nbsp;&nbsp;&nbsp;&nbsp;ElseIf msg = vbNo Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MsgBox &#8220;\u70b9\u51fb\u5426&#8221;<br>&nbsp;&nbsp;&nbsp;&nbsp;ElseIf msg = vbCancel Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MsgBox &#8220;\u70b9\u51fb\u53d6\u6d88&#8221;<br>&nbsp;&nbsp;&nbsp;&nbsp;End If<br>End Sub<\/p>\n<p>\u5982\u679c\u70b9\u51fb &#8220;\u662f&#8221;\uff0c\u5219<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lilia-study.com\/img\/excel-vba\/vbyes.webp\" alt=\"vbyes\" width=\"241\" height=\"195\"><\/p>\n<p>\u5982\u679c\u70b9\u51fb &#8220;\u5426&#8221;\uff0c\u5219<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lilia-study.com\/img\/excel-vba\/vbno.webp\" alt=\"vbno\" width=\"254\" height=\"194\"><\/p>\n<p>\u5982\u679c\u70b9\u51fb &#8220;\u53d6\u6d88&#8221;\uff0c\u5219<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lilia-study.com\/img\/excel-vba\/vbcancel.webp\" alt=\"vbcancel\" width=\"278\" height=\"195\"><\/p>\n<p>\u5982\u679c\u4e0d\u9700\u8981\u8fd4\u56de\u503c\uff0c\u53ea\u9700\u5199\u5165\u3002<\/p>\n<div class=\"box_style box_style04 bdr_gray\">\n<p>Sub test()<br>&nbsp;&nbsp;&nbsp;&nbsp;MsgBox &#8220;\u7559\u8a00&#8221;<br>End Sub<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h4>\u5907\u5fd8\u5f55<\/h4>\n<p>\u5982\u679c\u60a8\u60f3\u5728\u4fe1\u606f\u4e2d\u53e6\u8d77\u4e00\u884c<\/p>\n<ul>\n<li>\u56de\u8f66 (Chr(13))<\/li>\n<li>\u6362\u884c (Chr(10))<\/li>\n<\/ul>\n<p>\u4f7f\u7528<\/p>\n<div class=\"box_style box_style04 bdr_gray\">\n<p>Sub test()<br>&nbsp;&nbsp;&nbsp;&nbsp;MsgBox &#8220;\u7559\u8a00&#8221; &amp; Chr(13) &amp; &#8220;\u65b0\u7ebf\u8def&#8221;<br>End Sub<\/p>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lilia-study.com\/img\/excel-vba\/chr13.webp\" alt=\"chr\" width=\"171\" height=\"213\"><\/p>\n<p>&nbsp;<\/p>\n\n\n<p><!-- wp:html --><\/p>\n<p style=\"margin-bottom:0;padding-bottom:0;\">&lt;&nbsp;Sponsored Links&nbsp;&gt;<\/p>\n<p><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4504956686889525\"\n     crossorigin=\"anonymous\"><\/script><br \/>\n<!-- lilia bottom --><br \/>\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:336px;height:280px\"\n     data-ad-client=\"ca-pub-4504956686889525\"\n     data-ad-slot=\"7848928897\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><br \/>\n<!-- \/wp:html --><\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Excel VBA&nbsp;\u4f7f\u7528 \u201cMsgBox \u201d\u51fd\u6570\u5728\u5bf9\u8bdd\u6846\u4e2d\u663e\u793a\u4e00\u6761\u4fe1\u606f\u3002 &#8220;MsgBox&#8221; \u51fd\u6570\u5728\u5bf9\u8bdd\u6846\u4e2d\u663e\u793a\u4e00\u6761\u4fe1\u606f\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u503c\uff0c\u8868\u793a\u70b9\u51fb\u4e86\u54ea\u4e2a\u6309\u94ae\u3002 \u53e5\u6cd5 &#8220;MsgBo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,2],"tags":[],"class_list":{"0":"post-41","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-excel","7":"category-excel-vba"},"_links":{"self":[{"href":"https:\/\/lilia-study.com\/lang\/chs\/wp-json\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lilia-study.com\/lang\/chs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lilia-study.com\/lang\/chs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lilia-study.com\/lang\/chs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lilia-study.com\/lang\/chs\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":0,"href":"https:\/\/lilia-study.com\/lang\/chs\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"wp:attachment":[{"href":"https:\/\/lilia-study.com\/lang\/chs\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lilia-study.com\/lang\/chs\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lilia-study.com\/lang\/chs\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}