{"id":5128,"date":"2016-02-22T10:16:06","date_gmt":"2016-02-22T01:16:06","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=5128"},"modified":"2016-02-22T10:16:06","modified_gmt":"2016-02-22T01:16:06","slug":"waitmethod","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/waitmethod\/","title":{"rendered":"\u5b9f\u884c\u4e2d\u306e\u30de\u30af\u30ed\u3092\u6307\u5b9a\u6642\u523b\u307e\u3067\u505c\u6b62\u3059\u308b\uff08Wait \u30e1\u30bd\u30c3\u30c9\uff09"},"content":{"rendered":"<h2>\u5b9f\u884c\u4e2d\u306e\u30de\u30af\u30ed\u3092\u4e00\u6642\u505c\u6b62<\/h2>\n<div class=\"m30-l\">\n<p><strong>Wait \u30e1\u30bd\u30c3\u30c9<\/strong>\u3067\u3001\u5b9f\u884c\u4e2d\u306e\u30de\u30af\u30ed\u3092\u3001\u6307\u5b9a\u3057\u305f\u6642\u523b\u307e\u3067\u4e00\u6642\u7684\u306b\u505c\u6b62\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u69cb\u6587\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Wait<\/strong> <em>time<\/em><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Application \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>time&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30de\u30af\u30ed\u3092\u518d\u958b\u3059\u308b\u6642\u523b\u3092 Excel \u306e\u65e5\u4ed8\u6642\u523b\u306e\u66f8\u5f0f\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<\/div>\n<br \/><br \/>\n<h2>Wait \u30e1\u30bd\u30c3\u30c9 \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=\"Wait \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_Wait()\r\n\r\n    Dim i As Long\r\n    \r\n    For i = 1 To 20\r\n    \r\n        Debug.Print i\r\n        If i = 10 Then\r\n            'i=10 \u306e\u6642\u300115\u79d2\u9593\u30de\u30af\u30ed\u3092\u505c\u6b62\u3057\u307e\u3059\u3002\r\n            Application.Wait (Now + TimeValue(\"0:0:15\"))\r\n        End If\r\n    \r\n    Next i\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p> \u30de\u30af\u30ed\u505c\u6b62\u4e2d<\/p>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/waitmethod01.jpg?ssl=1\" rel=\"lightbox[5128]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/waitmethod01.jpg?resize=460%2C636&#038;ssl=1\" alt=\"Wait \u30e1\u30bd\u30c3\u30c9 01\" width=\"460\" height=\"636\" class=\"alignnone size-full wp-image-5129\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/waitmethod01.jpg?w=460&amp;ssl=1 460w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/waitmethod01.jpg?resize=289%2C400&amp;ssl=1 289w\" sizes=\"(max-width: 460px) 100vw, 460px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>15\u79d2\u505c\u6b62\u5f8c\u3001\u30de\u30af\u30ed\u518d\u958b<\/p>\n<p><a href=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/waitmethod02.jpg?ssl=1\" rel=\"lightbox[5128]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/waitmethod02.jpg?resize=455%2C650&#038;ssl=1\" alt=\"Wait \u30e1\u30bd\u30c3\u30c9 02\" width=\"455\" height=\"650\" class=\"alignnone size-full wp-image-5130\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/waitmethod02.jpg?w=455&amp;ssl=1 455w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/waitmethod02.jpg?resize=280%2C400&amp;ssl=1 280w\" sizes=\"(max-width: 455px) 100vw, 455px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9f\u884c\u4e2d\u306e\u30de\u30af\u30ed\u3092\u4e00\u6642\u505c\u6b62 Wait \u30e1\u30bd\u30c3\u30c9\u3067\u3001\u5b9f\u884c\u4e2d\u306e\u30de\u30af\u30ed\u3092\u3001\u6307\u5b9a\u3057\u305f\u6642\u523b\u307e &#8230; <\/p>\n","protected":false},"author":1,"featured_media":5129,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[787],"tags":[301,63,812,38,795],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/02\/waitmethod01.jpg?fit=460%2C636&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-1kI","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5128"}],"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=5128"}],"version-history":[{"count":4,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5128\/revisions"}],"predecessor-version":[{"id":5167,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5128\/revisions\/5167"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/5129"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=5128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=5128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=5128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}