{"id":2192,"date":"2023-09-25T11:06:02","date_gmt":"2023-09-25T11:06:02","guid":{"rendered":"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/"},"modified":"2023-12-06T05:49:10","modified_gmt":"2023-12-06T05:49:10","slug":"statusbalk-1","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/","title":{"rendered":"Hoe kan ik de statusbalk tonen\/verbergen met vba?"},"content":{"rendered":"<div class=\"excel-voor-de-inhoud\" id=\"excel-1775044551\"><script type=\"text\/javascript\">\r\n\tatOptions = {\r\n\t\t'key' : 'c1158f160081d6540a8409e6925dab94',\r\n\t\t'format' : 'iframe',\r\n\t\t'height' : 250,\r\n\t\t'width' : 300,\r\n\t\t'params' : {}\r\n\t};\r\n<\/script>\r\n<script type=\"text\/javascript\" src=\"\/\/www.highperformanceformat.com\/c1158f160081d6540a8409e6925dab94\/invoke.js\"><\/script><\/div> <p>In VBA is er een eigenschap \u201cStatus Bar\u201d die u kan helpen een waarde in de statusbalk weer te geven en er is ook \u201cDisplayStatusBar\u201d om de status van het Excel-venster te verbergen en weer te geven. Wanneer u deze eigenschappen gebruikt, moet u de statusbalk helemaal opnieuw instellen, anders blijft het laatste bericht of de laatste instelling daar staan.<\/p><p> In de tutorial zullen we enkele voorbeelden zien die we kunnen gebruiken bij het werken in Excel.<\/p><h2 class=\"wp-block-heading\"> Toon een waarde in de statusbalk<\/h2><p> Zoals ik al zei, kunt u de eigenschap StatusBar gebruiken om een waarde in de statusbalk weer te geven. In de onderstaande code heeft u de waarde &#8216;Hallo&#8217; gebruikt om toe te voegen aan de statusbalk. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-55620\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-afficher-une-valeur-dans-la-barre-detat.png\" sizes=\"auto, \" srcset=\"\" alt=\"een waarde weergeven in de statusbalk\" width=\"431\" height=\"390\"><\/figure><\/div><ol type=\"1\"><li> Gebruik het trefwoord \u201cApplicatie\u201d om naar de Excel-applicatie te verwijzen.<\/li><li> Typ een periode om een lijst met eigenschappen en methoden te krijgen.<\/li><li> Selecteer de eigenschap &#8220;StatusBar&#8221;.<\/li><li> Gebruik aan het einde het gelijkteken om de waarde op te geven die u in de statusbalk wilt weergeven.<\/li><\/ol><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub vba_status_bar() Application.StatusBar = \"Hello\" End Sub<\/code><\/pre><h2 class=\"wp-block-heading\"> Statusbalk verbergen met VBA<\/h2><p> Stel nu dat als u de statusbalk wilt verbergen, u DisplayStatusBar kunt gebruiken en deze eigenschap kunt opgeven op &#8220;False&#8221; ( <em>beschouw de volgende code<\/em> ). <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-55621\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/2-masquer-la-barre-detat.png\" sizes=\"auto, \" srcset=\"\" alt=\"Verberg status balk\" width=\"484\" height=\"270\"><\/figure><\/div><ol type=\"1\"><li> Gebruik het trefwoord \u201cApplicatie\u201d om naar de Excel-applicatie te verwijzen.<\/li><li> Typ een periode om een lijst met eigenschappen en methoden te krijgen.<\/li><li> Selecteer de eigenschap \u201cDisplayStatusBar\u201d.<\/li><li> Gebruik aan het einde het gelijkteken om &#8216;False&#8217; te specificeren.<\/li><\/ol><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub vba_status_bar_hide() Application.DisplayStatusBar = False End Sub<\/code><\/pre><h2 class=\"wp-block-heading\"> Update de voortgang in de statusbalk<\/h2><p> Bij daaropvolgende code-uitvoeringen wordt een voortgangsteller op de statusbalk weergegeven met een getal van 1 tot 100, dat u indien nodig kunt wijzigen.<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub vba_status_bar_update() Dim x As Integer Dim iTimer As Double 'you can change the loop if you need For x = 1 To 100 'dummy loop to run, you can change it as well iTimer = Timer Do Loop While Timer - MyTimer &lt; 0.03 Application.StatusBar = \"Progress: \" &amp; x &amp; \" of 100: \" &amp; Format(x \/ 100, \"Percent\") DoEvents Next x Application.StatusBar = False End Sub<\/code><\/pre><h2 class=\"wp-block-heading\"> Belangrijke punten om te onthouden<\/h2><ol type=\"1\"><li> U moet &#8220;app&#8221; gebruiken met statusbalkeigenschappen om ze te kunnen gebruiken.<\/li><li> Zodra u een bericht over de status bekijkt, moet u dat bericht wissen.<\/li><\/ol><div class=\"gb-container gb-container-4db6181c gb-container-mt\"> <a class=\"gb-button gb-button-c5897111 gb-button-text gb-button-mt-button\" href=\"https:\/\/exceladvisor.org\/nl\/vba\/\">Wat is VBA<\/a><h2 class=\"gb-headline gb-headline-665e5f6b gb-headline-text gb-headline-mt-heading\"> Gerelateerde tutorials <\/h2><div class=\"gb-grid-wrapper gb-grid-wrapper-a20baf7c gb-grid-wrapper-mt-grid\"><div class=\"gb-grid-column gb-grid-column-65ddf67e\"><div class=\"gb-container gb-container-65ddf67e\"><ul><li> <a href=\"https:\/\/exceladvisor.org\/nl\/markeer-dubbele-waarden\/\">Markeer dubbele waarden met VBA<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/nl\/hyperlink-uitpakken\/\">Extraheer hyperlinkadres (URL) VBA<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/nl\/invoerveld\/\">Invoervak in VBA<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/nl\/tekstbestanden\/\">VBA maken en schrijven naar een tekstbestand<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/nl\/scherm-bijwerken\/\">VBA-schermupdate<\/a> <\/li><\/ul><\/div><\/div><div class=\"gb-grid-column gb-grid-column-50067b57\"><div class=\"gb-container gb-container-50067b57\"><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ub_ctt_via":"","footnotes":""},"class_list":["post-2192","page","type-page","status-publish","hentry"],"featured_image_src":null,"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Hoe kan ik de statusbalk tonen\/verbergen met VBA?<\/title>\n<meta name=\"description\" content=\"Wanneer u statusbalkeigenschappen gebruikt, moet u de statusbalk naar het einde resetten, anders wordt het laatste bericht of\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hoe kan ik de statusbalk tonen\/verbergen met VBA?\" \/>\n<meta property=\"og:description\" content=\"Wanneer u statusbalkeigenschappen gebruikt, moet u de statusbalk naar het einde resetten, anders wordt het laatste bericht of\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-06T05:49:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-afficher-une-valeur-dans-la-barre-detat.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Geschatte leestijd\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/\",\"url\":\"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/\",\"name\":\"Hoe kan ik de statusbalk tonen\/verbergen met VBA?\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/nl\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-afficher-une-valeur-dans-la-barre-detat.png\",\"datePublished\":\"2023-09-25T11:06:02+00:00\",\"dateModified\":\"2023-12-06T05:49:10+00:00\",\"description\":\"Wanneer u statusbalkeigenschappen gebruikt, moet u de statusbalk naar het einde resetten, anders wordt het laatste bericht of\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-afficher-une-valeur-dans-la-barre-detat.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-afficher-une-valeur-dans-la-barre-detat.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Thuis\",\"item\":\"https:\/\/exceladvisor.org\/nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hoe kan ik de statusbalk tonen\/verbergen met vba?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/exceladvisor.org\/nl\/#website\",\"url\":\"https:\/\/exceladvisor.org\/nl\/\",\"name\":\"Excel Advisor\",\"description\":\"Uw gids voor datadominantie\",\"publisher\":{\"@id\":\"https:\/\/exceladvisor.org\/nl\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/exceladvisor.org\/nl\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl-NL\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/exceladvisor.org\/nl\/#organization\",\"name\":\"Excel Advisor\",\"url\":\"https:\/\/exceladvisor.org\/nl\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\/\/exceladvisor.org\/nl\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/exceladvisor.org\/nl\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/nl\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"width\":105,\"height\":36,\"caption\":\"Excel Advisor\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/nl\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hoe kan ik de statusbalk tonen\/verbergen met VBA?","description":"Wanneer u statusbalkeigenschappen gebruikt, moet u de statusbalk naar het einde resetten, anders wordt het laatste bericht of","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:\/\/exceladvisor.org\/nl\/statusbalk-1\/","og_locale":"nl_NL","og_type":"article","og_title":"Hoe kan ik de statusbalk tonen\/verbergen met VBA?","og_description":"Wanneer u statusbalkeigenschappen gebruikt, moet u de statusbalk naar het einde resetten, anders wordt het laatste bericht of","og_url":"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-06T05:49:10+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-afficher-une-valeur-dans-la-barre-detat.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Geschatte leestijd":"2 minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/","url":"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/","name":"Hoe kan ik de statusbalk tonen\/verbergen met VBA?","isPartOf":{"@id":"https:\/\/exceladvisor.org\/nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-afficher-une-valeur-dans-la-barre-detat.png","datePublished":"2023-09-25T11:06:02+00:00","dateModified":"2023-12-06T05:49:10+00:00","description":"Wanneer u statusbalkeigenschappen gebruikt, moet u de statusbalk naar het einde resetten, anders wordt het laatste bericht of","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/nl\/statusbalk-1\/"]}]},{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-afficher-une-valeur-dans-la-barre-detat.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-afficher-une-valeur-dans-la-barre-detat.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/nl\/statusbalk-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Thuis","item":"https:\/\/exceladvisor.org\/nl\/"},{"@type":"ListItem","position":2,"name":"Hoe kan ik de statusbalk tonen\/verbergen met vba?"}]},{"@type":"WebSite","@id":"https:\/\/exceladvisor.org\/nl\/#website","url":"https:\/\/exceladvisor.org\/nl\/","name":"Excel Advisor","description":"Uw gids voor datadominantie","publisher":{"@id":"https:\/\/exceladvisor.org\/nl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/exceladvisor.org\/nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl-NL"},{"@type":"Organization","@id":"https:\/\/exceladvisor.org\/nl\/#organization","name":"Excel Advisor","url":"https:\/\/exceladvisor.org\/nl\/","logo":{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/exceladvisor.org\/nl\/#\/schema\/logo\/image\/","url":"https:\/\/exceladvisor.org\/nl\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","contentUrl":"https:\/\/exceladvisor.org\/nl\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","width":105,"height":36,"caption":"Excel Advisor"},"image":{"@id":"https:\/\/exceladvisor.org\/nl\/#\/schema\/logo\/image\/"}}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/exceladvisor.org\/nl\/wp-json\/wp\/v2\/pages\/2192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exceladvisor.org\/nl\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/exceladvisor.org\/nl\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/nl\/wp-json\/wp\/v2\/comments?post=2192"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/nl\/wp-json\/wp\/v2\/pages\/2192\/revisions"}],"predecessor-version":[{"id":2594,"href":"https:\/\/exceladvisor.org\/nl\/wp-json\/wp\/v2\/pages\/2192\/revisions\/2594"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/nl\/wp-json\/wp\/v2\/media?parent=2192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}