{"id":448,"date":"2016-08-29T14:23:28","date_gmt":"2016-08-29T12:23:28","guid":{"rendered":"http:\/\/blog.ghbss.de\/?p=448"},"modified":"2019-05-06T14:05:27","modified_gmt":"2019-05-06T12:05:27","slug":"excel-vba","status":"publish","type":"post","link":"https:\/\/blog.ghbss.de\/?p=448","title":{"rendered":"Excel VBA"},"content":{"rendered":"<h1>Hier Tips und Tricks zu Excel-VBA<\/h1>\n<p>Hilfe: \u00a0<a href=\"https:\/\/msdn.microsoft.com\/de-de\/library\/office\/dn467914.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">Office-Entwicklerdokumentation<\/a><\/p>\n<p>Hier werden die folgende Referenzen zus\u00e4tzlich gesetzt:<\/p>\n<ul>\n<li>Microsoft Visual Bais for Application Extensibility 5.3<\/li>\n<li>Microsoft Scripting Runtime<\/li>\n<\/ul>\n<h2>Aktives Projekt Herausfinden<\/h2>\n<p>Um immer den Aktiven-Projekt \u00a0herauszufinden man kann die Application &#8211; Objekt benutzen.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">Dim VBProj As VBProject\n\nSet VBProj = Application.VBE.ActiveVBProject<\/pre>\n<h2>Speicherort von aktivem Projekt<\/h2>\n<p>manchmal m\u00f6chte man den absoluten Pfad von einem Projekt herausfinden. Das geht dann so:<\/p>\n<p>Innerhalb von Komponenten von einem Projekt, &#8222;Me.Path&#8220; ist der Datei-Pfad zu aktuellem Projekt.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hier Tips und Tricks zu Excel-VBA Hilfe: \u00a0Office-Entwicklerdokumentation Hier werden die folgende Referenzen zus\u00e4tzlich gesetzt: Microsoft Visual Bais for Application Extensibility 5.3 Microsoft Scripting Runtime Aktives Projekt Herausfinden Um immer den Aktiven-Projekt \u00a0herauszufinden man kann die Application &#8211; Objekt benutzen. Dim VBProj As VBProject Set VBProj = Application.VBE.ActiveVBProject Speicherort von aktivem Projekt manchmal m\u00f6chte man [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-448","post","type-post","status-publish","format-standard","hentry","category-allgemein"],"_links":{"self":[{"href":"https:\/\/blog.ghbss.de\/index.php?rest_route=\/wp\/v2\/posts\/448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ghbss.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ghbss.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ghbss.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ghbss.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=448"}],"version-history":[{"count":5,"href":"https:\/\/blog.ghbss.de\/index.php?rest_route=\/wp\/v2\/posts\/448\/revisions"}],"predecessor-version":[{"id":627,"href":"https:\/\/blog.ghbss.de\/index.php?rest_route=\/wp\/v2\/posts\/448\/revisions\/627"}],"wp:attachment":[{"href":"https:\/\/blog.ghbss.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ghbss.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ghbss.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}