{"id":1557,"date":"2015-04-25T18:13:56","date_gmt":"2015-04-25T09:13:56","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=1557"},"modified":"2015-04-25T18:13:56","modified_gmt":"2015-04-25T09:13:56","slug":"isempty","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/isempty\/","title":{"rendered":"\u5909\u6570\u304cEmpty \u5024\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\uff08 IsEmpty \u95a2\u6570 \uff09"},"content":{"rendered":"<h2>IsEmpty \u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/h2>\n<br \/>\n<div class=\"m30-l\">\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p><em>result<\/em> = <strong>IsEmpty<\/strong> ( <em>expression<\/em> )<\/p>\n<\/div>\n<br \/>\n<h3>\u3010\u5f15\u6570\u30fb\u623b\u308a\u5024\u3011<\/h3>\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>expression&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u8abf\u3079\u308b\u5909\u6570\u3084\u5f0f<\/li>\n<li>result&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5f15\u6570 <em>expression<\/em> \u304c\u3001<strong>Empty \u5024<\/strong>\u304b\u3069\u3046\u304b\u3092\u8abf\u3079\u305f\u7d50\u679c<br \/>\uff08\u30d6\u30fc\u30eb\u578b\uff1a<span class=\"red\">Empty \u5024\u306e\u5834\u5408\u306f\u3001<strong>True<\/strong> \uff0f \u305d\u308c\u4ee5\u5916\u306e\u5834\u5408\u306f\u3001<strong>False<\/strong><\/span> \uff09\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\"><strong>\u5909\u6570\u304c Empty \u5024<\/strong> \u3067\u3042\u308b\u5834\u5408\u3068\u306f\u3001\u305d\u306e\u5909\u6570\u304c\u521d\u671f\u5316\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\uff08\u5909\u6570\u5ba3\u8a00\u306e\u307f\u3067\u5024\u304c\u4ee3\u5165\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\uff09\u307e\u305f\u306f\u3001\u305d\u306e\u5909\u6570\u306b\u300cEmpty\u300d\u3092\u76f4\u63a5\u4ee3\u5165\u3057\u305f\u5834\u5408\u306e\u307f\u3067\u3059\u3002<\/p>\n<p class=\"caution4\"><span class=\"red\"><strong>Empty \u5024<\/strong><\/span> \u3068\u306f\u3001\u30d0\u30ea\u30a2\u30f3\u30c8\u578b\u306e\u5909\u6570\u304c\u683c\u7d0d\u3067\u304d\u308b\u7279\u6b8a\u306a\u5024\u3067\u3001<span class=\"red\">\u6570\u5024\u3068\u3057\u3066\u306f\u300c0\u300d\u3001\u6587\u5b57\u3068\u3057\u3066\u306f\u9577\u3055\u300c0\u300d\u306e\u6587\u5b57\u5217<\/span>\u3068\u3057\u3066<strong>\u8a55\u4fa1<\/strong>\u3055\u308c\u307e\u3059\u3002<\/p>\n<p class=\"caution4\"><span class=\"red\"><strong>IsEmpty \u95a2\u6570<\/strong><\/span> \u306f\u3001\u5358\u72ec\u306e\u5909\u6570\u306b\u3064\u3044\u3066\u521d\u671f\u5316\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u8abf\u3079\u308b\u95a2\u6570\u306a\u306e\u3067\u3001\u901a\u5e38\u3001\u5f15\u6570 <em>expression<\/em> \u306b\u306f\u3001\uff11\u3064\u306e\u5909\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n<br \/>\n<h2>IsEmpty \u95a2\u6570\u306e\u4f7f\u7528\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"IsEmpty \u95a2\u6570\u306e\u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_IsEmpty()\r\n\r\n    Dim myVal1, myVal2, myVal3, myVal4\r\n    Dim myInt, myStr, myNul\r\n\r\n        \r\n    myVal2 = Empty\r\n    myVal3 = \"\"\r\n    myVal4 = 0\r\n    myInt = 1250\r\n    myStr = \"\u3053\u3093\u306b\u3061\u306f\uff01\"\r\n    myNul = Null\r\n\r\n    '\u4ee5\u4e0b\u3001True \u3092\u8fd4\u3059\r\n    Debug.Print IsEmpty(myVal1)    '\u521d\u671f\u5316\u3055\u308c\u3066\u3044\u306a\u3044\r\n    Debug.Print IsEmpty(myVal2)    'Empty \u304c\u4ee3\u5165\u3055\u308c\u305f\r\n\r\n    Debug.Print\r\n    \r\n    '\u4ee5\u4e0b\u3001False \u3092\u8fd4\u3059\r\n    Debug.Print IsEmpty(myVal3)\r\n    Debug.Print IsEmpty(myVal4)\r\n    Debug.Print IsEmpty(myInt)\r\n    Debug.Print IsEmpty(myStr)\r\n    Debug.Print IsEmpty(myNul)\r\n    \r\n    \r\nEnd Sub\r\n\u3000\r\n<\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isempty01.jpg?ssl=1\" rel=\"lightbox[1557]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isempty01.jpg?resize=400%2C307&#038;ssl=1\" alt=\"IsEmpty \u95a2\u6570\u3000\u4f8b\" width=\"400\" height=\"307\" class=\"alignnone size-medium wp-image-1563\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isempty01.jpg?resize=400%2C307&amp;ssl=1 400w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isempty01.jpg?resize=580%2C446&amp;ssl=1 580w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isempty01.jpg?w=601&amp;ssl=1 601w\" sizes=\"(max-width: 400px) 100vw, 400px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<br \/><\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>IsEmpty \u95a2\u6570\u306e\u4f7f\u3044\u65b9 \u3010\u66f8\u5f0f\u3011 result = IsEmpty ( e &#8230; <\/p>\n","protected":false},"author":1,"featured_media":1565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":"\u5909\u6570\u304cEmpty \u5024\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\uff08 IsEmpty \u95a2\u6570 \uff09"},"categories":[37],"tags":[156,155,63,38,157,151,152],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isempty01-400x3071.jpg?fit=400%2C307&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s4Ye9i-isempty","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/1557"}],"collection":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/comments?post=1557"}],"version-history":[{"count":6,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/1557\/revisions"}],"predecessor-version":[{"id":1564,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/1557\/revisions\/1564"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/1565"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=1557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=1557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=1557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}