{"id":160,"date":"2019-05-23T18:24:02","date_gmt":"2019-05-23T18:24:02","guid":{"rendered":"https:\/\/keithratner.live\/optionexplicit\/?p=160"},"modified":"2019-07-03T03:16:26","modified_gmt":"2019-07-03T03:16:26","slug":"edge-git-vscode","status":"publish","type":"post","link":"https:\/\/keithratner.live\/optionexplicit\/edge-git-vscode\/","title":{"rendered":"Edge, Git and VS Code Integration"},"content":{"rendered":"<p>In my VBA project, on common UserForms, I have three labels with click event handlers attached:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"161\" data-permalink=\"https:\/\/keithratner.live\/optionexplicit\/edge-git-vscode\/utility_button_set\/\" data-orig-file=\"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/05\/utility_button_set.png?fit=85%2C35&amp;ssl=1\" data-orig-size=\"85,35\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Utility Button Set\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/05\/utility_button_set.png?fit=85%2C35&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/05\/utility_button_set.png?fit=85%2C35&amp;ssl=1\" class=\"alignnone size-full wp-image-161\" src=\"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/05\/utility_button_set.png?resize=85%2C35&#038;ssl=1\" alt=\"Utility Button Set\" width=\"85\" height=\"35\" \/><\/p>\n<p>First is a pause button, which just triggers a Stop command, launching the debugger\/VBA IDE.<\/p>\n<p>Second is a save button, which will save ThisWorkbook.<\/p>\n<p>Third triggers the <a href=\"https:\/\/keithratner.live\/optionexplicit\/export-modules-to-folder\/\" rel=\"noopener noreferrer\" target=\"_blank\">ExportModules<\/a> procedure.<\/p>\n<p>Source file updates are reflected in VS Code.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"162\" data-permalink=\"https:\/\/keithratner.live\/optionexplicit\/edge-git-vscode\/vscode_git_updates\/\" data-orig-file=\"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/05\/vscode_git_updates.png?fit=378%2C335&amp;ssl=1\" data-orig-size=\"378,335\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"VS Code Git Updates\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/05\/vscode_git_updates.png?fit=300%2C266&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/05\/vscode_git_updates.png?fit=378%2C335&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/05\/vscode_git_updates.png?resize=378%2C335&#038;ssl=1\" alt=\"VS Code Git Updates\" width=\"378\" height=\"335\" class=\"alignnone size-full wp-image-162\" srcset=\"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/05\/vscode_git_updates.png?w=378&amp;ssl=1 378w, https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/05\/vscode_git_updates.png?resize=300%2C266&amp;ssl=1 300w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><\/p>\n<p>Running GitHub in Edge Browser, screenshots can be pasted directly into the Comments section when submitting Issues.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my VBA project, on common UserForms, I have three labels with click event handlers attached: First is a pause button, which just triggers a Stop command, launching the debugger\/VBA IDE. Second is a save button, which will save ThisWorkbook. Third triggers the ExportModules procedure. Source file updates are reflected in VS Code. Running GitHub [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[21,4],"tags":[],"class_list":["post-160","post","type-post","status-publish","format-standard","hentry","category-articles","category-distribution"],"krwpengineoptions-featuredonwpengineblog":"yes","jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgsIIA-2A","jetpack-related-posts":[{"id":319,"url":"https:\/\/keithratner.live\/optionexplicit\/why-object-oriented-vba\/","url_meta":{"origin":160,"position":0},"title":"Why Object-Oriented VBA?","author":"Keith","date":"March 23, 2023","format":false,"excerpt":"\"Object-oriented programming is an essential concept in modern software engineering that encapsulates data and functionality within a single entity called an object. Microsoft's Visual Basic for Applications (VBA) is a popular programming language used in creating software for Microsoft Office applications like Excel and PowerPoint. Although VBA has its roots\u2026","rel":"","context":"In &quot;Articles&quot;","block_context":{"text":"Articles","link":"https:\/\/keithratner.live\/optionexplicit\/category\/articles\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":965,"url":"https:\/\/keithratner.live\/optionexplicit\/export-vba-modules-for-version-control\/","url_meta":{"origin":160,"position":1},"title":"Export VBA Modules for Version Control updated September 2024","author":"Keith","date":"September 26, 2024","format":false,"excerpt":"Add a Module in your VBA Project. Name it \"Exports\" and paste the following code into the module in its entirety. When your project is ready for export (and subsequent version control), click on the \"Macros\" button in the Developer ribbon, select \"ExportVBAModules\" and click \"Run.\" Option Explicit ' Define\u2026","rel":"","context":"In &quot;Articles&quot;","block_context":{"text":"Articles","link":"https:\/\/keithratner.live\/optionexplicit\/category\/articles\/"},"img":{"alt_text":"Exports Module","src":"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2024\/09\/exports-module.png?fit=885%2C424&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2024\/09\/exports-module.png?fit=885%2C424&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2024\/09\/exports-module.png?fit=885%2C424&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2024\/09\/exports-module.png?fit=885%2C424&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":316,"url":"https:\/\/keithratner.live\/optionexplicit\/the-importance-of-visual-basic-for-applications-vba\/","url_meta":{"origin":160,"position":2},"title":"The Importance of Visual Basic for Applications (VBA)","author":"Keith","date":"March 23, 2023","format":false,"excerpt":"Visual Basic for Applications (VBA) is a programming language that is used to automate tasks in Microsoft Office applications, including Excel, Word, and PowerPoint. VBA allows users to create customized macros, automate repetitive tasks, and interface with external software, making it an essential part of many businesses' software workflows. In\u2026","rel":"","context":"In &quot;Articles&quot;","block_context":{"text":"Articles","link":"https:\/\/keithratner.live\/optionexplicit\/category\/articles\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":563,"url":"https:\/\/keithratner.live\/optionexplicit\/update-access-vba-saved-imports-exports\/","url_meta":{"origin":160,"position":3},"title":"Update Access VBA Saved Imports Exports: A Step-by-Step Guide","author":"Keith","date":"May 3, 2024","format":false,"excerpt":"Updating Access VBA saved imports exports is essential when dealing with external data sources. This step-by-step guide will show you how to update Access VBA saved imports exports by dynamically changing the file path within your import\/export specifications. In this article, we'll walk through a powerful VBA script that allows\u2026","rel":"","context":"In &quot;Articles&quot;","block_context":{"text":"Articles","link":"https:\/\/keithratner.live\/optionexplicit\/category\/articles\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2024\/05\/Screenshot-2024-05-03-133800.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":322,"url":"https:\/\/keithratner.live\/optionexplicit\/why-use-vba-in-excel\/","url_meta":{"origin":160,"position":4},"title":"Why Use VBA in Excel?","author":"Keith","date":"March 23, 2023","format":false,"excerpt":"Excel VBA, or Visual Basic for Applications, is a programming language that allows developers to automate tasks and build applications within the Excel environment. Utilizing Excel VBA can dramatically improve your productivity and increase your Excel skillset, as well as provide you with the opportunity to create customized macros for\u2026","rel":"","context":"In &quot;Articles&quot;","block_context":{"text":"Articles","link":"https:\/\/keithratner.live\/optionexplicit\/category\/articles\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":52,"url":"https:\/\/keithratner.live\/optionexplicit\/notes-on-style-vba-coding-style\/","url_meta":{"origin":160,"position":5},"title":"Notes on VBA Coding Style: Maximizing Scalability and Readability","author":"Keith","date":"April 4, 2019","format":false,"excerpt":"Establishing and adhering to a VBA coding style guide enables increased project reusability and scalability. It makes code more readable and, by extension, the coding experience far more enjoyable. Minimize Horizontal Scrolling Split lines (use the underscore!) and indent. My rationale is that horizontal scrolling takes too long. You want\u2026","rel":"","context":"In &quot;Distribution&quot;","block_context":{"text":"Distribution","link":"https:\/\/keithratner.live\/optionexplicit\/category\/distribution\/"},"img":{"alt_text":"Notes on Style","src":"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/04\/notes-on-style.png?fit=724%2C962&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/04\/notes-on-style.png?fit=724%2C962&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/04\/notes-on-style.png?fit=724%2C962&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/keithratner.live\/optionexplicit\/wp-content\/uploads\/sites\/29\/2019\/04\/notes-on-style.png?fit=724%2C962&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/keithratner.live\/optionexplicit\/wp-json\/wp\/v2\/posts\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/keithratner.live\/optionexplicit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/keithratner.live\/optionexplicit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/keithratner.live\/optionexplicit\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/keithratner.live\/optionexplicit\/wp-json\/wp\/v2\/comments?post=160"}],"version-history":[{"count":1,"href":"https:\/\/keithratner.live\/optionexplicit\/wp-json\/wp\/v2\/posts\/160\/revisions"}],"predecessor-version":[{"id":163,"href":"https:\/\/keithratner.live\/optionexplicit\/wp-json\/wp\/v2\/posts\/160\/revisions\/163"}],"wp:attachment":[{"href":"https:\/\/keithratner.live\/optionexplicit\/wp-json\/wp\/v2\/media?parent=160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/keithratner.live\/optionexplicit\/wp-json\/wp\/v2\/categories?post=160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/keithratner.live\/optionexplicit\/wp-json\/wp\/v2\/tags?post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}