{"id":652,"date":"2023-09-30T04:50:34","date_gmt":"2023-09-30T04:50:34","guid":{"rendered":"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/"},"modified":"2023-12-10T11:49:31","modified_gmt":"2023-12-10T11:49:31","slug":"%e5%a6%82%e6%9e%9c%e6%88%96","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/","title":{"rendered":"\u5982\u4f55\u5728vba\u4e2d\u4f7f\u7528if\u548cor\uff1f"},"content":{"rendered":"<div class=\"excel-\" id=\"excel-1971159223\"><script type=\"text\/javascript\">\r\n\tatOptions = {\r\n\t\t'key' : 'c1158f160081d6540a8409e6925dab94',\r\n\t\t'format' : 'iframe',\r\n\t\t'height' : 250,\r\n\t\t'width' : 300,\r\n\t\t'params' : {}\r\n\t};\r\n<\/script>\r\n<script type=\"text\/javascript\" src=\"\/\/www.highperformanceformat.com\/c1158f160081d6540a8409e6925dab94\/invoke.js\"><\/script><\/div> <p>\u60a8\u53ef\u4ee5\u5c06<strong>OR<\/strong>\u8fd0\u7b97\u7b26\u4e0e<a href=\"https:\/\/exceladvisor.org\/cn\/\u5982\u679c-2\/\">VBA IF \u8bed\u53e5<\/a>\u7ed3\u5408\u4f7f\u7528\u6765\u6d4b\u8bd5\u591a\u4e2a\u6761\u4ef6\u3002\u5f53\u60a8\u4f7f\u7528\u5b83\u65f6\uff0c\u5b83\u5141\u8bb8\u60a8\u540c\u65f6\u6d4b\u8bd5\u4e24\u4e2a\u6216\u591a\u4e2a\u6761\u4ef6\uff0c\u5e76<strong>\u5728\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u4e3a true \u65f6\u8fd4\u56de true<\/strong> \u3002\u4f46\u5982\u679c\u6240\u6709\u6761\u4ef6\u5747\u4e3a false\uff0c\u5219\u4ec5\u5728\u7ed3\u679c\u4e2d\u8fd4\u56de false\u3002<\/p><h2 class=\"wp-block-heading\">\u5c06 OR \u4e0e IF \u7ed3\u5408\u4f7f\u7528<\/h2><ol type=\"1\"><li>\u9996\u5148\uff0c\u4ee5\u5173\u952e\u5b57\u201cIF\u201d\u5f00\u59cb IF \u8bed\u53e5\u3002<\/li><li>\u4e4b\u540e\uff0c\u6307\u5b9a\u60a8\u8981\u6d4b\u8bd5\u7684\u7b2c\u4e00\u4e2a\u6761\u4ef6\u3002<\/li><li>\u7136\u540e\u4f7f\u7528 OR \u5173\u952e\u5b57\u6307\u5b9a\u7b2c\u4e8c\u4e2a\u6761\u4ef6\u3002<\/li><li>\u6700\u540e\uff0c\u6307\u5b9a\u8981\u6d4b\u8bd5\u7684\u7b2c\u4e8c\u4e2a\u6761\u4ef6\u3002 <\/li><\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-57529\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-vba-si-ou-condition.png\" sizes=\"auto, \" srcset=\"\" alt=\"VBA \u5982\u679c\u6216\u6761\u4ef6\" width=\"728\" height=\"142\"><\/figure><\/div><p>\u4e3a\u4e86\u66f4\u597d\u5730\u7406\u89e3\uff0c\u8ba9\u6211\u4eec\u770b\u4e00\u4e2a\u4f8b\u5b50\u3002 <\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub myMacro() 'two conditions to test using OR If 1 = 1 Or 2 &lt; 1 Then MsgBox \"One of the conditions is true.\" Else MsgBox \"None of the conditions are true.\" End If End Sub<\/code><\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-57530\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/2-specifie-deux-conditions.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"581\" height=\"488\"><\/figure><\/div><p>\u5982\u679c\u4f60\u770b\u4e0a\u9762\u7684\u4f8b\u5b50\uff0c\u6211\u4eec\u6307\u5b9a\u4e86\u4e24\u4e2a\u6761\u4ef6\uff0c\u4e00\u4e2a\u662f if (1 = 1)\uff0c\u7b2c\u4e8c\u4e2a\u662f (2 &lt; 1)\uff0c\u8fd9\u91cc\u53ea\u6709\u7b2c\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\uff0c\u5373\u4f7f\u5b83\u6267\u884c\u4e86\u6211\u4eec\u8981\u6267\u884c\u7684\u90a3\u884c\u4ee3\u7801\u6307\u5b9a\u7ed3\u679c\u662f\u5426\u4e3a\u771f\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-57531\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/3-la-premiere-condition-est-vraie.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"242\" height=\"192\"><\/figure><\/div><p>\u73b0\u5728\u8ba9\u6211\u4eec\u770b\u770b\u8fd9\u4e24\u4e2a\u6761\u4ef6\u662f\u5426\u90fd\u4e3a\u5047\uff0c\u8ba9\u6211\u5728\u8fd9\u91cc\u4f7f\u7528\u4e0d\u540c\u7684\u4ee3\u7801\u3002 <\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub myMacro() 'two conditions to test using OR If 1 = 2 Or 2 &lt; 1 Then MsgBox \"One of the conditions is true.\" Else MsgBox \"None of the conditions are true.\" End If End Sub<\/code><\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-57532\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/4-les-deux-conditions-sont-fausses.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"546\" height=\"475\"><\/figure><\/div><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u4e24\u4e2a\u6761\u4ef6\u90fd\u4e3a false\uff0c\u5f53\u60a8<a href=\"https:\/\/exceladvisor.org\/cn\/\u6267\u884c\u5b8f2\/\">\u8fd0\u884c\u6b64\u4ee3\u7801<\/a>\u65f6\uff0c\u5982\u679c\u7ed3\u679c\u4e3a false\uff0c\u5b83\u5c06\u6267\u884c\u6211\u4eec\u6307\u5b9a\u7684\u4ee3\u7801\u884c\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-57533\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/5-specifie-si-le-resultat-est-faux.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"233\" height=\"172\"><\/figure><\/div><h2 class=\"wp-block-heading\"> IF OR \u7684\u591a\u4e2a\u6761\u4ef6<\/h2><p>\u540c\u6837\uff0c\u60a8\u4e5f\u53ef\u4ee5\u540c\u65f6\u6d4b\u8bd5\u4e24\u4e2a\u4ee5\u4e0a\u7684\u6761\u4ef6\u3002\u8ba9\u6211\u4eec\u7ee7\u7eed\u4e0a\u9762\u7684\u793a\u4f8b\u5e76\u6dfb\u52a0\u7b2c\u4e09\u4e2a\u6761\u4ef6\u3002 <\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub myMacro() 'three conditions to test using OR If 1 = 1 And 2 &gt; 1 And 1 - 1 = 0 Then MsgBox \"one of the conditions is true.\" Else MsgBox \"none of the conditions are true.\" End If End Sub<\/code><\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-57534\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/6-conditions-multiples-avec-if-ou.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"555\" height=\"472\"><\/figure><\/div><p>\u6211\u4eec\u73b0\u5728\u6709\u4e09\u4e2a\u6761\u4ef6\u8981\u6d4b\u8bd5\uff0c\u6211\u4eec\u5728\u7b2c\u4e8c\u4e2a\u6761\u4ef6\u4e4b\u540e\u4f7f\u7528 OR \u6765\u6307\u5b9a\u7b2c\u4e09\u4e2a\u6761\u4ef6\u3002\u6b63\u5982\u60a8\u5728\u4e0a\u9762\u4e86\u89e3\u5230\u7684\uff0c\u5f53\u60a8\u4f7f\u7528 OR \u65f6\uff0c\u5176\u4e2d\u4e00\u4e2a\u6761\u4ef6\u5fc5\u987b\u4e3a\u771f\u624d\u80fd\u5728\u7ed3\u679c\u4e2d\u53d8\u4e3a\u771f\u3002\u5f53\u60a8\u8fd0\u884c\u6b64\u4ee3\u7801\u65f6\uff0c\u5b83\u4f1a\u6267\u884c\u6211\u4eec\u6307\u5b9a\u4e3a true \u7684\u4ee3\u7801\u884c\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-57535\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/7-specifie-pour-le-vrai-2.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"225\" height=\"178\"><\/figure><\/div><p>\u5982\u679c\u6240\u6709\u6761\u4ef6\u90fd\u4e3a false\uff0c\u5c31\u50cf\u60a8\u5728\u4ee5\u4e0b\u4ee3\u7801\u4e2d\u6240\u505a\u7684\u90a3\u6837\uff0c\u5b83\u5c06\u8fd4\u56de false\u3002 <\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub myMacro() 'three conditions to test using OR If 1 &lt; 1 And 2 &lt; 1 And 1 + 1 = 0 Then MsgBox \"one of the conditions is true.\" Else MsgBox \"none of the conditions are true.\" End If End Sub<\/code><\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-57536\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/8-toutes-les-conditions-sont-fausses.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"247\" height=\"182\"><\/figure><\/div><div class=\"gb-container gb-container-4db6181c gb-container-mt\"> <a class=\"gb-button gb-button-c5897111 gb-button-text gb-button-mt-button\" href=\"https:\/\/exceladvisor.org\/cn\/\u7ef4\u5df4\/\">\u4ec0\u4e48\u662fVBA<\/a><h2 class=\"gb-headline gb-headline-665e5f6b gb-headline-text gb-headline-mt-heading\">\u76f8\u5173\u6559\u7a0b<\/h2><div class=\"gb-grid-wrapper gb-grid-wrapper-a20baf7c gb-grid-wrapper-mt-grid\"><div class=\"gb-grid-column gb-grid-column-65ddf67e\"><div class=\"gb-container gb-container-65ddf67e\"><ul><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u51fa\u53bb\u5982\u679c\/\">VBA \u9000\u51fa\u5982\u679c<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u5982\u679c-2\/\">VBA IF\uff08\u5982\u679c\u5219\u5426\u5219\uff09<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u5982\u679c\u548c\/\">VBA \u5982\u679c\u548c<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u5426\u5219\/\">VBA \u5982\u679c\u6ca1\u6709<\/a>]<\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u5d4c\u5957\u5982\u679c\/\">VBA \u5d4c\u5957 IF<\/a> <\/li><\/ul><\/div><\/div><div class=\"gb-grid-column gb-grid-column-50067b57\"><div class=\"gb-container gb-container-50067b57\"><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ub_ctt_via":"","footnotes":""},"class_list":["post-652","page","type-page","status-publish","hentry"],"featured_image_src":null,"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5728 VBA Excel \u4e2d\u4f7f\u7528 IF \u548c OR \uff1f \uff08\u6559\u7a0b 2023\uff09<\/title>\n<meta name=\"description\" content=\"\u4f7f\u7528 VBA OR\uff0c\u60a8\u53ef\u4ee5\u540c\u65f6\u6d4b\u8bd5\u591a\u4e2a\u6761\u4ef6\u3002\u5982\u679c\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\uff0c\u5219\u8fd4\u56de true\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/exceladvisor.org\/cn\/\u5982\u679c\u6216\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728 VBA Excel \u4e2d\u4f7f\u7528 IF \u548c OR \uff1f \uff08\u6559\u7a0b 2023\uff09\" \/>\n<meta property=\"og:description\" content=\"\u4f7f\u7528 VBA OR\uff0c\u60a8\u53ef\u4ee5\u540c\u65f6\u6d4b\u8bd5\u591a\u4e2a\u6761\u4ef6\u3002\u5982\u679c\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\uff0c\u5219\u8fd4\u56de true\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/cn\/\u5982\u679c\u6216\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-10T11:49:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-vba-si-ou-condition.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/\",\"name\":\"\u5982\u4f55\u5728 VBA Excel \u4e2d\u4f7f\u7528 IF \u548c OR \uff1f \uff08\u6559\u7a0b 2023\uff09\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-vba-si-ou-condition.png\",\"datePublished\":\"2023-09-30T04:50:34+00:00\",\"dateModified\":\"2023-12-10T11:49:31+00:00\",\"description\":\"\u4f7f\u7528 VBA OR\uff0c\u60a8\u53ef\u4ee5\u540c\u65f6\u6d4b\u8bd5\u591a\u4e2a\u6761\u4ef6\u3002\u5982\u679c\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\uff0c\u5219\u8fd4\u56de true\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-vba-si-ou-condition.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-vba-si-ou-condition.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/exceladvisor.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728vba\u4e2d\u4f7f\u7528if\u548cor\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\",\"url\":\"https:\/\/exceladvisor.org\/cn\/\",\"name\":\"Excel Advisor\",\"description\":\"\u60a8\u7684\u6570\u636e\u7edf\u6cbb\u7ec8\u6781\u6307\u5357\",\"publisher\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/exceladvisor.org\/cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#organization\",\"name\":\"Excel Advisor\",\"url\":\"https:\/\/exceladvisor.org\/cn\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"width\":105,\"height\":36,\"caption\":\"Excel Advisor\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5728 VBA Excel \u4e2d\u4f7f\u7528 IF \u548c OR \uff1f \uff08\u6559\u7a0b 2023\uff09","description":"\u4f7f\u7528 VBA OR\uff0c\u60a8\u53ef\u4ee5\u540c\u65f6\u6d4b\u8bd5\u591a\u4e2a\u6761\u4ef6\u3002\u5982\u679c\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\uff0c\u5219\u8fd4\u56de true\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/exceladvisor.org\/cn\/\u5982\u679c\u6216\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728 VBA Excel \u4e2d\u4f7f\u7528 IF \u548c OR \uff1f \uff08\u6559\u7a0b 2023\uff09","og_description":"\u4f7f\u7528 VBA OR\uff0c\u60a8\u53ef\u4ee5\u540c\u65f6\u6d4b\u8bd5\u591a\u4e2a\u6761\u4ef6\u3002\u5982\u679c\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\uff0c\u5219\u8fd4\u56de true\u3002","og_url":"https:\/\/exceladvisor.org\/cn\/\u5982\u679c\u6216\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-10T11:49:31+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-vba-si-ou-condition.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/","url":"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/","name":"\u5982\u4f55\u5728 VBA Excel \u4e2d\u4f7f\u7528 IF \u548c OR \uff1f \uff08\u6559\u7a0b 2023\uff09","isPartOf":{"@id":"https:\/\/exceladvisor.org\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-vba-si-ou-condition.png","datePublished":"2023-09-30T04:50:34+00:00","dateModified":"2023-12-10T11:49:31+00:00","description":"\u4f7f\u7528 VBA OR\uff0c\u60a8\u53ef\u4ee5\u540c\u65f6\u6d4b\u8bd5\u591a\u4e2a\u6761\u4ef6\u3002\u5982\u679c\u5176\u4e2d\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\uff0c\u5219\u8fd4\u56de true\u3002","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-vba-si-ou-condition.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-vba-si-ou-condition.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/cn\/%e5%a6%82%e6%9e%9c%e6%88%96\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/exceladvisor.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728vba\u4e2d\u4f7f\u7528if\u548cor\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/exceladvisor.org\/cn\/#website","url":"https:\/\/exceladvisor.org\/cn\/","name":"Excel Advisor","description":"\u60a8\u7684\u6570\u636e\u7edf\u6cbb\u7ec8\u6781\u6307\u5357","publisher":{"@id":"https:\/\/exceladvisor.org\/cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/exceladvisor.org\/cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/exceladvisor.org\/cn\/#organization","name":"Excel Advisor","url":"https:\/\/exceladvisor.org\/cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/","url":"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","contentUrl":"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","width":105,"height":36,"caption":"Excel Advisor"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/"}}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/comments?post=652"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/652\/revisions"}],"predecessor-version":[{"id":1237,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/652\/revisions\/1237"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/media?parent=652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}