{"id":1552,"date":"2015-04-25T16:19:27","date_gmt":"2015-04-25T07:19:27","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=1552"},"modified":"2015-04-25T16:19:27","modified_gmt":"2015-04-25T07:19:27","slug":"isnumeric","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/isnumeric\/","title":{"rendered":"\u5909\u6570\u304c\u6570\u5024\u578b\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\uff08 IsNumeric \u95a2\u6570 \uff09"},"content":{"rendered":"<h2>IsNumeric \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>IsNumeric<\/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>\u6570\u5024<\/strong>\u3068\u3057\u3066\u6271\u3048\u308b\u304b\u3069\u3046\u304b\u3092\u8abf\u3079\u305f\u7d50\u679c\uff08\u30d6\u30fc\u30eb\u578b\uff1a<span class=\"red\">\u6570\u5024\u3068\u3057\u3066\u6271\u3048\u308b\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<\/div>\n<br \/>\n<h2>IsNumeric \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=\"IsNumeric \u95a2\u6570\u306e\u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_isnumeric()\r\n\r\n\r\n    '\u4ee5\u4e0b\u3001True \u3092\u8fd4\u3059\r\n    Debug.Print IsNumeric(42005)\r\n    Debug.Print IsNumeric(-42.005)\r\n    Debug.Print IsNumeric(0)\r\n    Debug.Print IsNumeric(\"234.567\")\r\n    Debug.Print IsNumeric(12 ^ 7)\r\n    Debug.Print IsNumeric(10 \/ 3)\r\n    Debug.Print IsNumeric(Empty)\r\n    Debug.Print IsNumeric(\"2000,4,11\")\r\n    Debug.Print IsNumeric(Sqr(10))\r\n    Debug.Print IsNumeric(Int(Rnd * 6) + 1)\r\n\r\n    Debug.Print\r\n    \r\n    '\u4ee5\u4e0b\u3001False \u3092\u8fd4\u3059\r\n    Debug.Print IsNumeric(#4\/1\/2015#)\r\n    Debug.Print IsNumeric(#6\/21\/2013 7:02:23 PM#)\r\n    Debug.Print IsNumeric(DateSerial(2012, 1, 1))\r\n    Debug.Print IsNumeric(Now)\r\n    Debug.Print IsNumeric(\"1:20\")\r\n    Debug.Print IsNumeric(\"2005\/9\/1 11:30 AM\")\r\n    Debug.Print IsNumeric(\"\u662d\u548c60\u5e747\u670820\u65e5 1\u664230\u5206\")\r\n    Debug.Print IsNumeric(\"\u304a\u306f\u3088\u3046\uff01\")\r\n    Debug.Print IsNumeric(\"\")\r\n    Debug.Print IsNumeric(Null)\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:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isnumeric01.jpg?ssl=1\" rel=\"lightbox[1552]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isnumeric01.jpg?resize=400%2C265&#038;ssl=1\" alt=\"IsNumeric \u95a2\u6570\u3000\u4f8b\" width=\"400\" height=\"265\" class=\"alignnone size-medium wp-image-1553\" srcset=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isnumeric01.jpg?resize=400%2C265&amp;ssl=1 400w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isnumeric01.jpg?resize=580%2C384&amp;ssl=1 580w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isnumeric01.jpg?w=700&amp;ssl=1 700w\" sizes=\"(max-width: 400px) 100vw, 400px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<br \/><\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>IsNumeric \u95a2\u6570\u306e\u4f7f\u3044\u65b9 \u3010\u66f8\u5f0f\u3011 result = IsNumeric &#8230; <\/p>\n","protected":false},"author":1,"featured_media":1556,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":"\u5909\u6570\u304c\u6570\u5024\u578b\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\uff08 IsNumeric \u95a2\u6570 \uff09"},"categories":[37],"tags":[153,63,38,151,154,152],"jetpack_featured_media_url":"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/04\/isnumeric01-400x2651.jpg?fit=400%2C265&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-p2","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/1552"}],"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=1552"}],"version-history":[{"count":2,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/1552\/revisions"}],"predecessor-version":[{"id":1555,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/1552\/revisions\/1555"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/1556"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=1552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=1552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=1552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}