{"id":7185,"date":"2023-08-03T15:07:55","date_gmt":"2023-08-03T06:07:55","guid":{"rendered":"https:\/\/extan.jp\/?p=7185"},"modified":"2023-08-03T15:12:40","modified_gmt":"2023-08-03T06:12:40","slug":"%e3%80%90excel-vba%e3%80%91if%e6%96%87%e3%81%a7not%e6%bc%94%e7%ae%97%e5%ad%90%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%ef%bc%81%e8%a4%87%e6%95%b0%e6%9d%a1%e4%bb%b6%e5%88%a4","status":"publish","type":"post","link":"https:\/\/extan.jp\/?p=7185","title":{"rendered":"\u3010Excel VBA\u3011If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u6761\u4ef6\u5224\u5b9a\u3082\uff01"},"content":{"rendered":"<p>Excel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044\u3068\u304d\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001<\/p>\n<div class=\"kininarukoto1\">\u30fbExcel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u304c\u308f\u304b\u3089\u306a\u3044<br \/>\n\u30fbIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\u304c\u308f\u304b\u3089\u306a\u3044<\/div>\n<p>\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u4eca\u56de\u306f\u305d\u3093\u306a\u304a\u60a9\u307f\u3092\u89e3\u6c7a\u3059\u308b<\/p>\n<div class=\"rdinfo\">\u30fbExcel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<br \/>\nIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\uff01<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_66_1 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\">\u3082\u304f\u3058<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/extan.jp\/?p=7185\/#Excel_VBA%E3%81%AEIf%E6%96%87%E3%81%A7Not%E6%BC%94%E7%AE%97%E5%AD%90%E3%82%92%E6%8C%87%E5%AE%9A%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95\" title=\"Excel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\">Excel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/extan.jp\/?p=7185\/#If%E6%96%87%E3%81%AENot%E6%BC%94%E7%AE%97%E5%AD%90%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E6%A7%8B%E6%96%87\" title=\"If\u6587\u306eNot\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u305f\u69cb\u6587\">If\u6587\u306eNot\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u305f\u69cb\u6587<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/extan.jp\/?p=7185\/#If%E6%96%87%E3%81%AENot%E6%BC%94%E7%AE%97%E5%AD%90%E3%81%A7%E7%A9%BA%E7%99%BD%E3%81%A7%E3%81%AA%E3%81%84%E6%9D%A1%E4%BB%B6%E3%82%92%E5%88%A4%E5%AE%9A\" title=\"If\u6587\u306eNot\u6f14\u7b97\u5b50\u3067\u7a7a\u767d\u3067\u306a\u3044\u6761\u4ef6\u3092\u5224\u5b9a\">If\u6587\u306eNot\u6f14\u7b97\u5b50\u3067\u7a7a\u767d\u3067\u306a\u3044\u6761\u4ef6\u3092\u5224\u5b9a<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/extan.jp\/?p=7185\/#%E6%96%87%E5%AD%97%E5%88%97%E3%81%8C%E7%A9%BA%E7%99%BD%E3%81%A7%E3%81%AA%E3%81%84%E3%81%93%E3%81%A8%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E5%A0%B4%E5%90%88\" title=\"\u6587\u5b57\u5217\u304c\u7a7a\u767d\u3067\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408\">\u6587\u5b57\u5217\u304c\u7a7a\u767d\u3067\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/extan.jp\/?p=7185\/#%E5%A4%89%E6%95%B0%E3%81%8C%E7%A9%BA%E3%81%A7%E3%81%AA%E3%81%84%E3%81%93%E3%81%A8%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E5%A0%B4%E5%90%88\" title=\"\u5909\u6570\u304c\u7a7a\u3067\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408\">\u5909\u6570\u304c\u7a7a\u3067\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/extan.jp\/?p=7185\/#If%E6%96%87%E3%81%A7Not%E6%BC%94%E7%AE%97%E5%AD%90%E3%82%92%E6%8C%87%E5%AE%9A%E3%81%97%E3%80%81%E8%A4%87%E6%95%B0%E6%9D%A1%E4%BB%B6%E3%81%AE%E5%88%A4%E5%AE%9A%E3%82%92%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95\" title=\"If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\">If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/extan.jp\/?p=7185\/#If%E6%96%87%E3%81%AEAnd%E6%BC%94%E7%AE%97%E5%AD%90%E3%81%BE%E3%81%9F%E3%81%AFOr%E6%BC%94%E7%AE%97%E5%AD%90%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E6%A7%8B%E6%96%87\" title=\"If\u6587\u306eAnd\u6f14\u7b97\u5b50\u307e\u305f\u306fOr\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u305f\u69cb\u6587\">If\u6587\u306eAnd\u6f14\u7b97\u5b50\u307e\u305f\u306fOr\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u305f\u69cb\u6587<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/extan.jp\/?p=7185\/#VBA%E3%81%AEIf%E6%96%87%E3%81%A8Not%E6%BC%94%E7%AE%97%E5%AD%90%E3%81%A7%E8%A4%87%E6%95%B0%E6%9D%A1%E4%BB%B6%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95\" title=\"VBA\u306eIf\u6587\u3068Not\u6f14\u7b97\u5b50\u3067\u8907\u6570\u6761\u4ef6\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\">VBA\u306eIf\u6587\u3068Not\u6f14\u7b97\u5b50\u3067\u8907\u6570\u6761\u4ef6\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/extan.jp\/?p=7185\/#Not%E6%BC%94%E7%AE%97%E5%AD%90%E3%81%AE%E4%BB%A3%E3%82%8F%E3%82%8A%E3%81%AB%E4%B8%8D%E7%AD%89%E5%8F%B7%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B\" title=\"Not\u6f14\u7b97\u5b50\u306e\u4ee3\u308f\u308a\u306b\u4e0d\u7b49\u53f7\u3092\u4f7f\u7528\u3059\u308b\">Not\u6f14\u7b97\u5b50\u306e\u4ee3\u308f\u308a\u306b\u4e0d\u7b49\u53f7\u3092\u4f7f\u7528\u3059\u308b<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/extan.jp\/?p=7185\/#%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\" title=\"\u3055\u3044\u3054\u306b\">\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Excel_VBA%E3%81%AEIf%E6%96%87%E3%81%A7Not%E6%BC%94%E7%AE%97%E5%AD%90%E3%82%92%E6%8C%87%E5%AE%9A%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95\"><\/span>Excel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VBA\u306eIf\u6587\u3067\u306f\u3001Not\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u3066\u6761\u4ef6\u3092\u53cd\u8ee2\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u69cb\u6587\u3067\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"If%E6%96%87%E3%81%AENot%E6%BC%94%E7%AE%97%E5%AD%90%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E6%A7%8B%E6%96%87\"><\/span>If\u6587\u306eNot\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u305f\u69cb\u6587<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"info\"><code>If Not \u6761\u4ef6 Then<br \/>\n&#039; \u6761\u4ef6\u304cFalse\u306e\u5834\u5408\u306e\u51e6\u7406<br \/>\nElse<br \/>\n&#039; \u6761\u4ef6\u304cTrue\u306e\u5834\u5408\u306e\u51e6\u7406<br \/>\nEnd If<\/code><\/div>\n<p>\u4f8b\u3048\u3070\u3001\u5909\u6570num\u304c0\u3067\u306f\u306a\u3044\u5834\u5408\u306b\u51e6\u7406\u3092\u884c\u3046\u5834\u5408\u306f\u3001<br \/>\n\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">If Not num = 0 Then\n    &#039; num\u304c0\u3067\u306f\u306a\u3044\u5834\u5408\u306e\u51e6\u7406\nElse\n    &#039; num\u304c0\u306e\u5834\u5408\u306e\u51e6\u7406\nEnd If<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"If%E6%96%87%E3%81%AENot%E6%BC%94%E7%AE%97%E5%AD%90%E3%81%A7%E7%A9%BA%E7%99%BD%E3%81%A7%E3%81%AA%E3%81%84%E6%9D%A1%E4%BB%B6%E3%82%92%E5%88%A4%E5%AE%9A\"><\/span>If\u6587\u306eNot\u6f14\u7b97\u5b50\u3067\u7a7a\u767d\u3067\u306a\u3044\u6761\u4ef6\u3092\u5224\u5b9a<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If\u6587\u306eNot\u6f14\u7b97\u5b50\u3067\u7a7a\u767d\u3067\u306a\u3044\u6761\u4ef6\u3092\u5224\u5b9a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u7a7a\u767d\u3067\u306a\u3044\u6761\u4ef6\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408\u3001\u6587\u5b57\u5217\u304c\u7a7a\u767d\u3067\u306a\u3044\u3053\u3068\u3092\u5224\u5b9a\u3059\u308b\u304b\u3001\u5909\u6570\u304c\u7a7a\u3067\u306a\u3044\u3053\u3068\u3092\u5224\u5b9a\u3059\u308b\u304b\u306e\u4e8c\u7a2e\u985e\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h4><span class=\"ez-toc-section\" id=\"%E6%96%87%E5%AD%97%E5%88%97%E3%81%8C%E7%A9%BA%E7%99%BD%E3%81%A7%E3%81%AA%E3%81%84%E3%81%93%E3%81%A8%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E5%A0%B4%E5%90%88\"><\/span>\u6587\u5b57\u5217\u304c\u7a7a\u767d\u3067\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<div class=\"info\"><code>If Not Len(\u6587\u5b57\u5217) = 0 Then<br \/>\n&#039; \u6587\u5b57\u5217\u304c\u7a7a\u767d\u3067\u306a\u3044\u5834\u5408\u306e\u51e6\u7406<br \/>\nElse<br \/>\n&#039; \u6587\u5b57\u5217\u304c\u7a7a\u767d\u306e\u5834\u5408\u306e\u51e6\u7406<br \/>\nEnd If<\/code><\/div>\n<p>\u4f8b\u3048\u3070\u3001\u5909\u6570text\u304c\u7a7a\u767d\u3067\u306a\u3044\u5834\u5408\u306b\u51e6\u7406\u3092\u884c\u3046\u5834\u5408\u306f\u3001<br \/>\n\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">If Not Len(text) = 0 Then\n    &#039; text\u304c\u7a7a\u767d\u3067\u306a\u3044\u5834\u5408\u306e\u51e6\u7406\nElse\n    &#039; text\u304c\u7a7a\u767d\u306e\u5834\u5408\u306e\u51e6\u7406\nEnd If<\/code><\/pre>\n<p>\u306a\u304a\u3001Not\u6f14\u7b97\u5b50\u3092\u4f7f\u308f\u306a\u3044\u5834\u5408\u306f\u6587\u5b57\u6570\u304c0\u3088\u308a\u3042\u308b\u304b\u306e\u6761\u4ef6\u306b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>If Len(\u6587\u5b57\u5217) &gt; 0 Then<br \/>\n&#039; \u6587\u5b57\u5217\u304c\u7a7a\u767d\u3067\u306a\u3044\u5834\u5408\u306e\u51e6\u7406<br \/>\nElse<br \/>\n&#039; \u6587\u5b57\u5217\u304c\u7a7a\u767d\u306e\u5834\u5408\u306e\u51e6\u7406<br \/>\nEnd If<\/code><\/div>\n<p>Not\u6f14\u7b97\u5b50\u306e\u4ee3\u308f\u308a\u306b\u4e0d\u7b49\u53f7\uff08&lt;&gt;\uff09\u3067\u8868\u73fe\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<div class=\"info\"><code>If Len(\u6587\u5b57\u5217) &lt;&gt; 0 Then<br \/>\n&#039; \u6587\u5b57\u5217\u304c\u7a7a\u767d\u3067\u306a\u3044\u5834\u5408\u306e\u51e6\u7406<br \/>\nElse<br \/>\n&#039; \u6587\u5b57\u5217\u304c\u7a7a\u767d\u306e\u5834\u5408\u306e\u51e6\u7406<br \/>\nEnd If<\/code><\/div>\n<h4><span class=\"ez-toc-section\" id=\"%E5%A4%89%E6%95%B0%E3%81%8C%E7%A9%BA%E3%81%A7%E3%81%AA%E3%81%84%E3%81%93%E3%81%A8%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E5%A0%B4%E5%90%88\"><\/span>\u5909\u6570\u304c\u7a7a\u3067\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u5909\u6570\u304c\u7a7a\u3067\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u5834\u5408\u306f\u3001<br \/>\n\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">If Not IsEmpty(\u5909\u6570) Then\n    &#039; \u5909\u6570\u304c\u7a7a\u3067\u306a\u3044\u5834\u5408\u306e\u51e6\u7406\nElse\n    &#039; \u5909\u6570\u304c\u7a7a\u306e\u5834\u5408\u306e\u51e6\u7406\nEnd If<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"If%E6%96%87%E3%81%A7Not%E6%BC%94%E7%AE%97%E5%AD%90%E3%82%92%E6%8C%87%E5%AE%9A%E3%81%97%E3%80%81%E8%A4%87%E6%95%B0%E6%9D%A1%E4%BB%B6%E3%81%AE%E5%88%A4%E5%AE%9A%E3%82%92%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95\"><\/span>If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u8907\u6570\u306e\u6761\u4ef6\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306b\u306f\u3001And\u6f14\u7b97\u5b50\u307e\u305f\u306fOr\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u69cb\u6587\u3067\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"If%E6%96%87%E3%81%AEAnd%E6%BC%94%E7%AE%97%E5%AD%90%E3%81%BE%E3%81%9F%E3%81%AFOr%E6%BC%94%E7%AE%97%E5%AD%90%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E6%A7%8B%E6%96%87\"><\/span>If\u6587\u306eAnd\u6f14\u7b97\u5b50\u307e\u305f\u306fOr\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u305f\u69cb\u6587<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"info\"><code>If \u6761\u4ef61 And \u6761\u4ef62 Then<br \/>\n&#039; \u6761\u4ef61\u3068\u6761\u4ef62\u304c\u4e21\u65b9True\u306e\u5834\u5408\u306e\u51e6\u7406<br \/>\nElseIf \u6761\u4ef63 Or \u6761\u4ef64 Then<br \/>\n&#039; \u6761\u4ef63\u307e\u305f\u306f\u6761\u4ef64\u304cTrue\u306e\u5834\u5408\u306e\u51e6\u7406<br \/>\nElse<br \/>\n&#039; \u4e0a\u8a18\u306e\u6761\u4ef6\u306b\u8a72\u5f53\u3057\u306a\u3044\u5834\u5408\u306e\u51e6\u7406<br \/>\nEnd If<\/code><\/div>\n<p>\u4f8b\u3048\u3070\u3001\u5909\u6570num\u304c10\u4ee5\u4e0a\u304b\u3064\u5076\u6570\u3067\u3042\u308b\u5834\u5408\u306b\u51e6\u7406\u3092\u884c\u3044\u3001<br \/>\n\u305d\u308c\u4ee5\u5916\u306e\u5834\u5408\u306f\u5225\u306e\u51e6\u7406\u3092\u884c\u3046\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">If num &gt;= 10 And num Mod 2 = 0 Then\n    &#039; num\u304c10\u4ee5\u4e0a\u304b\u3064\u5076\u6570\u306e\u5834\u5408\u306e\u51e6\u7406\nElse\n    &#039; \u4e0a\u8a18\u306e\u6761\u4ef6\u306b\u8a72\u5f53\u3057\u306a\u3044\u5834\u5408\u306e\u51e6\u7406\nEnd If<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AEIf%E6%96%87%E3%81%A8Not%E6%BC%94%E7%AE%97%E5%AD%90%E3%81%A7%E8%A4%87%E6%95%B0%E6%9D%A1%E4%BB%B6%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95\"><\/span>VBA\u306eIf\u6587\u3068Not\u6f14\u7b97\u5b50\u3067\u8907\u6570\u6761\u4ef6\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u306eIf\u6587\u3068Not\u6f14\u7b97\u5b50\u3067\u8907\u6570\u6761\u4ef6\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>If\u6587\u3068Not\u6f14\u7b97\u5b50\u3067\u8907\u6570\u6761\u4ef6\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u30ab\u30c3\u30b3\u3067\u56f2\u3093\u3060\u7bc4\u56f2\u3092Not\u6f14\u7b97\u5b50\u3067\u53cd\u8ee2\u3055\u305b\u308b\u304b\u3001\u500b\u3005\u306bNot\u6f14\u7b97\u5b50\u3092\u4ed8\u4e0e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>VBA\u306eIf\u6587\u3068Not\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u3066\u3001\u6570\u5b57\u304c1\u304b\u308910\u307e\u3067\u306e\u7bc4\u56f2\u304b\u30895, 6, 7\u3092\u62bd\u51fa\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">For num = 1 To 10\n    If Not (num = 5 Or num = 6 Or num = 7) Then\n        &#039; 5, 6, 7\u4ee5\u5916\u306e\u6570\u5b57\u306b\u5bfe\u3059\u308b\u51e6\u7406\n        Debug.Print num\n    End If\nNext num<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ab\u30c3\u30b3\u3067\u56f2\u3093\u3060\u90e8\u5206\u306bNot\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u6761\u4ef6\u3092\u53cd\u8ee2\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Not (num = 5 Or num = 6 Or num = 7)<\/code><\/div>\n<p>\u5b9f\u884c\u7d50\u679c\u3067\u3059\u3002<\/p>\n<div class=\"info\"><code>1<br \/>\n2<br \/>\n3<br \/>\n4<br \/>\n8<br \/>\n9<br \/>\n10<\/code><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Not%E6%BC%94%E7%AE%97%E5%AD%90%E3%81%AE%E4%BB%A3%E3%82%8F%E3%82%8A%E3%81%AB%E4%B8%8D%E7%AD%89%E5%8F%B7%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B\"><\/span>Not\u6f14\u7b97\u5b50\u306e\u4ee3\u308f\u308a\u306b\u4e0d\u7b49\u53f7\u3092\u4f7f\u7528\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Not\u6f14\u7b97\u5b50\u306e\u4ee3\u308f\u308a\u306b\u4e0d\u7b49\u53f7\u3092\u4f7f\u7528\u3057\u3001\u540c\u69d8\u306e\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>VBA\u306eIf\u6587\u3068\u4e0d\u7b49\u53f7\u3092\u4f7f\u7528\u3057\u3066\u3001\u6570\u5b57\u304c1\u304b\u308910\u307e\u3067\u306e\u7bc4\u56f2\u304b\u30895, 6, 7\u3092\u62bd\u51fa\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">For num = 1 To 10\n    If num &lt;&gt; 5 And num &lt;&gt; 6 And num &lt;&gt; 7 Then\n        &#039; 5, 6, 7\u4ee5\u5916\u306e\u6570\u5b57\u306b\u5bfe\u3059\u308b\u51e6\u7406\n        Debug.Print num\n    End If\nNext num<\/code><\/pre>\n<p>\u4e0d\u7b49\u53f7\uff08&lt;&gt;\uff09\u3092\u4f7f\u3046\u3068Not\u6f14\u7b97\u5b50\u3068\u540c\u69d8\u306e\u5224\u5b9a\u304c\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>If\u6587\u3068\u4e0d\u7b49\u53f7\uff08&lt;&gt;\uff09\u3092\u4f7f\u7528\u3057\u3066\u6761\u4ef6\u3092\u5224\u5b9a\u3057\u30015, 6, 7\u4ee5\u5916\u306e\u6570\u5b57\u306b\u5bfe\u3059\u308b\u51e6\u7406\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u7d50\u679c\u306f\u3001\u5148\u307b\u3069\u306e\u4f8b\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>1<br \/>\n2<br \/>\n3<br \/>\n4<br \/>\n8<br \/>\n9<br \/>\n10<\/code><\/div>\n<p>\u6b21\u306b\u5426\u5b9a\u8981\u7d20\u3092\u306a\u304f\u3057\u3001\u7bc4\u56f2\u6307\u5b9a\u3092\u3057\u3066\u3082\u540c\u69d8\u306e\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">If num &gt;= 5 And num &lt;= 7 Then\n    &#039; \u6570\u5b575, 6, 7\u306b\u5bfe\u3059\u308b\u51e6\u7406\n    Debug.Print num\nEnd If<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\"><\/span>\u3055\u3044\u3054\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001<\/p>\n<div class=\"endinfo\">\u30fbExcel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<br \/>\n\u30fbIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305f\u3001\u4ed6\u306b\u3082\u4fbf\u5229\u306a\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3088\u308d\u3057\u3051\u308c\u3070\u3054\u53c2\u7167\u9802\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044\u3068\u304d\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002 \u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001 \u30fbExcel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u304c\u308f\u304b\u3089\u306a\u3044 \u30fbIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001&#8230;<\/p>\n","protected":false},"author":1,"featured_media":11878,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[123],"class_list":{"0":"post-7185","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-excelvba","8":"tag-123","9":"article cf"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"description\" content=\"\u30fbExcel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u30fbIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\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:\/\/extan.jp\/?p=7185\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010Excel VBA\u3011If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u6761\u4ef6\u5224\u5b9a\u3082\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n<meta property=\"og:description\" content=\"\u30fbExcel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u30fbIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/extan.jp\/?p=7185\" \/>\n<meta property=\"og:site_name\" content=\"\u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-03T06:07:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-03T06:12:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/08\/str-190.png\" \/>\n\t<meta property=\"og:image:width\" content=\"857\" \/>\n\t<meta property=\"og:image:height\" content=\"607\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30bf\u30ab\u30d2\u30ed@extan\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/extan.jp\/#website\",\"url\":\"https:\/\/extan.jp\/\",\"name\":\"\u30a8\u30af\u77ed\uff5cExtan.jp\",\"description\":\"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/extan.jp\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/extan.jp\/?p=7185#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/08\/str-190.png\",\"contentUrl\":\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/08\/str-190.png\",\"width\":857,\"height\":607,\"caption\":\"\u3010Excel VBA\u3011If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u6761\u4ef6\u5224\u5b9a\u3082\uff01\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/extan.jp\/?p=7185#webpage\",\"url\":\"https:\/\/extan.jp\/?p=7185\",\"name\":\"\u3010Excel VBA\u3011If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u6761\u4ef6\u5224\u5b9a\u3082\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp\",\"isPartOf\":{\"@id\":\"https:\/\/extan.jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/extan.jp\/?p=7185#primaryimage\"},\"datePublished\":\"2023-08-03T06:07:55+00:00\",\"dateModified\":\"2023-08-03T06:12:40+00:00\",\"author\":{\"@id\":\"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a\"},\"description\":\"\u30fbExcel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u30fbIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/extan.jp\/?p=7185#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/extan.jp\/?p=7185\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/extan.jp\/?p=7185#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/extan.jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010Excel VBA\u3011If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u6761\u4ef6\u5224\u5b9a\u3082\uff01\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a\",\"name\":\"\u30bf\u30ab\u30d2\u30ed@extan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/extan.jp\/#personlogo\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"caption\":\"\u30bf\u30ab\u30d2\u30ed@extan\"},\"url\":\"https:\/\/extan.jp\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"description":"\u30fbExcel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u30fbIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\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:\/\/extan.jp\/?p=7185","og_locale":"ja_JP","og_type":"article","og_title":"\u3010Excel VBA\u3011If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u6761\u4ef6\u5224\u5b9a\u3082\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp","og_description":"\u30fbExcel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u30fbIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","og_url":"https:\/\/extan.jp\/?p=7185","og_site_name":"\u30a8\u30af\u77ed\uff5cExtan.jp","article_published_time":"2023-08-03T06:07:55+00:00","article_modified_time":"2023-08-03T06:12:40+00:00","og_image":[{"width":857,"height":607,"url":"https:\/\/extan.jp\/wp-content\/uploads\/2023\/08\/str-190.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u30bf\u30ab\u30d2\u30ed@extan","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/extan.jp\/#website","url":"https:\/\/extan.jp\/","name":"\u30a8\u30af\u77ed\uff5cExtan.jp","description":"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/extan.jp\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"ImageObject","@id":"https:\/\/extan.jp\/?p=7185#primaryimage","inLanguage":"ja","url":"https:\/\/extan.jp\/wp-content\/uploads\/2023\/08\/str-190.png","contentUrl":"https:\/\/extan.jp\/wp-content\/uploads\/2023\/08\/str-190.png","width":857,"height":607,"caption":"\u3010Excel VBA\u3011If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u6761\u4ef6\u5224\u5b9a\u3082\uff01"},{"@type":"WebPage","@id":"https:\/\/extan.jp\/?p=7185#webpage","url":"https:\/\/extan.jp\/?p=7185","name":"\u3010Excel VBA\u3011If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u6761\u4ef6\u5224\u5b9a\u3082\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp","isPartOf":{"@id":"https:\/\/extan.jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/extan.jp\/?p=7185#primaryimage"},"datePublished":"2023-08-03T06:07:55+00:00","dateModified":"2023-08-03T06:12:40+00:00","author":{"@id":"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a"},"description":"\u30fbExcel VBA\u306eIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u30fbIf\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3057\u3001\u8907\u6570\u6761\u4ef6\u306e\u5224\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/extan.jp\/?p=7185#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/extan.jp\/?p=7185"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/extan.jp\/?p=7185#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/extan.jp\/"},{"@type":"ListItem","position":2,"name":"\u3010Excel VBA\u3011If\u6587\u3067Not\u6f14\u7b97\u5b50\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u6761\u4ef6\u5224\u5b9a\u3082\uff01"}]},{"@type":"Person","@id":"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a","name":"\u30bf\u30ab\u30d2\u30ed@extan","image":{"@type":"ImageObject","@id":"https:\/\/extan.jp\/#personlogo","inLanguage":"ja","url":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","caption":"\u30bf\u30ab\u30d2\u30ed@extan"},"url":"https:\/\/extan.jp\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/7185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7185"}],"version-history":[{"count":7,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/7185\/revisions"}],"predecessor-version":[{"id":11882,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/7185\/revisions\/11882"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/media\/11878"}],"wp:attachment":[{"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}