{"id":1928,"date":"2023-10-27T22:57:31","date_gmt":"2023-10-27T22:57:31","guid":{"rendered":"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/"},"modified":"2023-12-06T05:48:39","modified_gmt":"2023-12-06T05:48:39","slug":"script-laboratorium","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/","title":{"rendered":"Hoe gebruik ik scriptlab in excel?"},"content":{"rendered":"<div class=\"excel-voor-de-inhoud\" id=\"excel-3051832496\"><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>Met Script Lab kunt u gebruik maken van de Office JavaScript API. Om het \u201cScript Lab\u201d te verkrijgen, moet u de script lab-invoegtoepassing installeren vanaf het tabblad Invoegen \u21e2 Invoegtoepassingen ophalen \u21e2 Script Lab. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-88977\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-laboratoire-de-script-dans-Excel.png\" sizes=\"auto, \" srcset=\"\" alt=\"script-lab-in-excel\" width=\"686\" height=\"393\"><\/figure><\/div><p> Het volgende dat u hoeft te doen, is het tabblad Script Lab aan het lint toevoegen. En ga daarvoor naar het tabblad Bestand \u21e2 Opties \u21e2 Lint aanpassen \u21e2 Vinkje \u21e2 Script Lab. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-88978\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/2-ajouter-un-laboratoire-de-script-sur-le-ruban.png\" sizes=\"auto, \" srcset=\"\" alt=\"add-script-lab-op-lint\" width=\"692\" height=\"334\"><\/figure><\/div><p> Keer terug naar uw spreadsheet en klik op de knop &#8220;Code&#8221; op het tabblad Script Lab. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-88979\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/3-clics-sur-le-code-de-longlet-du-laboratoire-de-script.png\" sizes=\"auto, \" srcset=\"\" alt=\"klik-code-uit-script-lab-tabblad\" width=\"710\" height=\"161\"><\/figure><\/div><p> Wanneer u op de codeknop klikt, ziet u een venster aan de rechterkant van het Excel-venster. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-88980\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/4-volet-sur-le-cote-droit.png\" sizes=\"auto, \" srcset=\"\" alt=\"sluiter aan de rechterkant\" width=\"355\" height=\"433\"><\/figure><\/div><p> Met Script Lab kunt u JavaScript gebruiken om codes te schrijven en een aangepaste functie in Excel te maken. Klik nu op de menuknop en klik vervolgens op de knop Nieuw. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-88981\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/5-avec-script-lab-utiliser-javascript-pour-ecrire-des-codes.png\" sizes=\"auto, \" srcset=\"\" alt=\"met-script-lab-gebruik-javascript-om-codes te schrijven\" width=\"369\" height=\"121\"><\/figure><\/div><p> Verwijder vervolgens de code die al aanwezig is in de drie tabbladen, Script, HTML en CSS. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-88982\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/6-supprimer-les-codes-deja-presents.png\" sizes=\"auto, \" srcset=\"\" alt=\"verwijder-de-codes-al-daar\" width=\"644\" height=\"232\"><\/figure><\/div><p> Wanneer je de code plakt, verdwijnt het tabblad HTML en CSS omdat deze code een functie aanmaakt. En deze functie helpt u bij het berekenen van het VIERKANT VAN EEN GETAL.<\/p><pre class=\"wp-block-code\"> <code class=\"language-typescript\" lang=\"typescript\">\/** * calculates the square root of the number. * @customfunction *\/ function getsquare(num) { return Math.pow(num, 2); }<\/code><\/pre><p> Vanaf hier moet u deze functie opslaan in uw Excel-applicatie. Klik eerst op de knop \u201cRegistreren\u201d. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-88983\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/Fonction-7-registres-avec-application-Excel.png\" sizes=\"auto, \" srcset=\"\" alt=\"opslagfunctie-met-excel-applicatie\" width=\"578\" height=\"379\"><\/figure><\/div><p> Wanneer u op de knop Opslaan klikt, wordt weergegeven: \u201cDe volgende functies zijn succesvol opgeslagen\u201d. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-88984\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/8-montre-les-fonctions-enregistrees-avec-succes.png\" sizes=\"auto, \" srcset=\"\" alt=\"horloge-functies-geregistreerd-succesvol\" width=\"646\" height=\"294\"><\/figure><\/div><p> Ga nu terug naar het spreadsheet en voer een getal in een cel in. Voer bijvoorbeeld \u201c=ScriptLab\u201d in een andere cel in en selecteer de GETSQUARE-functie. Raadpleeg de cel met het nummer. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-88985\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/9-entrez-un-nombre-dans-la-cellule.png\" sizes=\"auto, \" srcset=\"\" alt=\"voer een getal in de cel in\" width=\"540\" height=\"334\"><\/figure><\/div><p> Druk aan het einde op Enter om het resultaat te krijgen. <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-88986\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/10-appuyez-sur-Entree-pour-obtenir-le-resultat.png\" sizes=\"auto, \" srcset=\"\" alt=\"druk op enter om het resultaat te krijgen\" width=\"569\" height=\"370\"><\/figure><\/div><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\/excel-vooruitgang\/\">Geavanceerde Excel-zelfstudies<\/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\/excel-standaard-op-mac\/\">Maak Excel standaard op Mac<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/nl\/excel-veilige-modus\/\">Open Excel in de veilige modus<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/nl\/maak-de-cache-leeg\/\">Cache wissen in Excel<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/nl\/autocorrectie\/\">Gebruik AutoCorrectie in Excel<\/a><\/li><\/ul><\/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-1928","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 gebruik ik Scriptlab in Excel?<\/title>\n<meta name=\"description\" content=\"Dit is een korte handleiding om aan de slag te gaan met het Script Lab in Excel.\" \/>\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\/script-laboratorium\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hoe gebruik ik Scriptlab in Excel?\" \/>\n<meta property=\"og:description\" content=\"Dit is een korte handleiding om aan de slag te gaan met het Script Lab in Excel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-06T05:48:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-laboratoire-de-script-dans-Excel.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=\"1 minuut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/\",\"url\":\"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/\",\"name\":\"Hoe gebruik ik Scriptlab in Excel?\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/nl\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-laboratoire-de-script-dans-Excel.png\",\"datePublished\":\"2023-10-27T22:57:31+00:00\",\"dateModified\":\"2023-12-06T05:48:39+00:00\",\"description\":\"Dit is een korte handleiding om aan de slag te gaan met het Script Lab in Excel.\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-laboratoire-de-script-dans-Excel.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-laboratoire-de-script-dans-Excel.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Thuis\",\"item\":\"https:\/\/exceladvisor.org\/nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hoe gebruik ik scriptlab in excel?\"}]},{\"@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 gebruik ik Scriptlab in Excel?","description":"Dit is een korte handleiding om aan de slag te gaan met het Script Lab in Excel.","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\/script-laboratorium\/","og_locale":"nl_NL","og_type":"article","og_title":"Hoe gebruik ik Scriptlab in Excel?","og_description":"Dit is een korte handleiding om aan de slag te gaan met het Script Lab in Excel.","og_url":"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-06T05:48:39+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-laboratoire-de-script-dans-Excel.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Geschatte leestijd":"1 minuut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/","url":"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/","name":"Hoe gebruik ik Scriptlab in Excel?","isPartOf":{"@id":"https:\/\/exceladvisor.org\/nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-laboratoire-de-script-dans-Excel.png","datePublished":"2023-10-27T22:57:31+00:00","dateModified":"2023-12-06T05:48:39+00:00","description":"Dit is een korte handleiding om aan de slag te gaan met het Script Lab in Excel.","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/nl\/script-laboratorium\/"]}]},{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-laboratoire-de-script-dans-Excel.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-laboratoire-de-script-dans-Excel.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/nl\/script-laboratorium\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Thuis","item":"https:\/\/exceladvisor.org\/nl\/"},{"@type":"ListItem","position":2,"name":"Hoe gebruik ik scriptlab in excel?"}]},{"@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\/1928","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=1928"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/nl\/wp-json\/wp\/v2\/pages\/1928\/revisions"}],"predecessor-version":[{"id":2550,"href":"https:\/\/exceladvisor.org\/nl\/wp-json\/wp\/v2\/pages\/1928\/revisions\/2550"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/nl\/wp-json\/wp\/v2\/media?parent=1928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}