{"id":5577,"date":"2016-06-02T06:52:28","date_gmt":"2016-06-01T21:52:28","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=5577"},"modified":"2016-06-02T06:52:28","modified_gmt":"2016-06-01T21:52:28","slug":"statusbar","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/statusbar\/","title":{"rendered":"\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\uff08StatusBar \u30d7\u30ed\u30d1\u30c6\u30a3\uff09"},"content":{"rendered":"<h2>StatusBar \u30d7\u30ed\u30d1\u30c6\u30a3<\/h2>\n<div class=\"m30-l\">\n<p><strong>StatusBar \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u3067\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306b\u8868\u793a\u3059\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u53d6\u5f97\u304a\u3088\u3073\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n    \u307e\u305f\u3001<strong>DisplayStatusBar \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong> \u3067\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306e\u8868\u793a\u30fb\u975e\u8868\u793a\u3092\u53d6\u5f97\u304a\u3088\u3073\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<h3>StatusBar \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u53d6\u5f97\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>StatusBar<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>StatusBar<\/strong> = <em>string<\/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>string&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306b\u8868\u793a\u3059\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6587\u5b57\u5217\u578b\uff08String\uff09\u306e\u5024\u3067\u3001\u6307\u5b9a\u3057\u307e\u3059\u3002\u6587\u5b57\u5217\u3092\u65e2\u5b9a\u5024\u306b\u623b\u3059\u306b\u306f\u3001<strong>False<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<p class=\"caution4\">Excel \u5074\u3067\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u3092\u5236\u5fa1\u3057\u3066\u3044\u308b\u3068\u304d\u3001\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f <strong>False<\/strong> \u3092\u8fd4\u3057\u307e\u3059\u3002\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306e\u6587\u5b57\u5217\u3092\u65e2\u5b9a\u5024\u306b\u623b\u3059\u306b\u306f\u3001<strong>False<\/strong> \u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u304c\u975e\u8868\u793a\u306e\u72b6\u614b\u3067\u3082\u3001\u3053\u306e\u8a2d\u5b9a\u306b\u3088\u3063\u3066\u6587\u5b57\u5217\u306f\u65e2\u5b9a\u5024\u306b\u623b\u308a\u307e\u3059\u3002<\/p>\n<br \/>\n<h3>DisplayStatusBar \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u53d6\u5f97\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>DisplayStatusBar<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>DisplayStatusBar<\/strong> = <em>boolean<\/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>boolean&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d6\u30fc\u30eb\u578b\uff08Boolean\uff09\u306e\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u3092\u8868\u793a\u3059\u308b\u306b\u306f\u3001<strong>True<\/strong>\u3001\u975e\u8868\u793a\u306b\u3059\u308b\u306b\u306f\u3001<strong>False<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<\/div>\n<br \/><br \/>\n<h2>DisplayStatusBar \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbStatusBar \u30d7\u30ed\u30d1\u30c6\u30a3 \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=\"DisplayStatusBar \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbStatusBar \u30d7\u30ed\u30d1\u30c6\u30a3 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample1_StatusBar()\r\n    \r\n    Dim msg As String, msg2 As String\r\n    Dim defDStatus As Boolean\r\n    Dim myTimer As Double\r\n    Dim nowTime As Integer\r\n    \r\n    msg = \"\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\uff1a\u3053\u3053\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u3000\"\r\n    \r\n    '\u73fe\u5728\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306e\u72b6\u614b\u3092\u53d6\u5f97\r\n    defDStatus = Application.DisplayStatusBar\r\n    \r\n    '\u73fe\u5728\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u3092\u8868\u793a\r\n    Application.DisplayStatusBar = True\r\n    \r\n    '\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306b\u8868\u793a\u3059\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8a2d\u5b9a\r\n    'Application.StatusBar = msg\r\n    \r\n    '10\u79d2\u9593\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\r\n    myTimer = Timer + 10\r\n    nowTime = 1\r\n    Do Until nowTime = 0\r\n        nowTime = Int(myTimer - Timer)\r\n        Application.StatusBar = msg & nowTime\r\n        DoEvents\r\n    Loop\r\n    \r\n    '\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u3092\u65e2\u5b9a\u5024\u306b\u623b\u3059\r\n    Application.StatusBar = False\r\n    \r\n    '\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306e\u72b6\u614b\u3092\u5143\u306b\u623b\u3059\r\n    Application.DisplayStatusBar = defDStatus\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:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/05\/statusbar01.jpg?ssl=1\" rel=\"lightbox[5577]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/05\/statusbar01.jpg?resize=580%2C494&#038;ssl=1\" alt=\"StatusBar \u30d7\u30ed\u30d1\u30c6\u30a3\" width=\"580\" height=\"494\" class=\"alignnone size-large wp-image-5578\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/05\/statusbar01.jpg?resize=580%2C494&amp;ssl=1 580w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/05\/statusbar01.jpg?resize=400%2C341&amp;ssl=1 400w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/05\/statusbar01.jpg?w=600&amp;ssl=1 600w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>StatusBar \u30d7\u30ed\u30d1\u30c6\u30a3 StatusBar \u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc &#8230; <\/p>\n","protected":false},"author":1,"featured_media":5600,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[357],"tags":[301,800,906,63,38,360],"jetpack_featured_media_url":"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2016\/06\/statusbar01-580x494.jpg?fit=580%2C494&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-1rX","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5577"}],"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=5577"}],"version-history":[{"count":2,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5577\/revisions"}],"predecessor-version":[{"id":5599,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/5577\/revisions\/5599"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/5600"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=5577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=5577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=5577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}