<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic VBA script during load? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VBA-script-during-load/m-p/175253#M1311572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cant figure out how to call up the excel object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2009 21:27:39 GMT</pubDate>
    <dc:creator>james</dc:creator>
    <dc:date>2009-12-04T21:27:39Z</dc:date>
    <item>
      <title>VBA script during load?</title>
      <link>https://community.qlik.com/t5/QlikView/VBA-script-during-load/m-p/175249#M1311561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good evening,&lt;/P&gt;&lt;P&gt;is it possible to use a vba script during a load?&lt;/P&gt;&lt;P&gt;I have some code that returns all Active Dirctory namse and who is assigned to said AD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANy ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBA-script-during-load/m-p/175249#M1311561</guid>
      <dc:creator>james</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>VBA script during load?</title>
      <link>https://community.qlik.com/t5/QlikView/VBA-script-during-load/m-p/175250#M1311564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;Yes, it's possible to run VB Script during script load. There are certain restrictions for accessing the contents of the QlikView document, mainly targetting objects under ActiveDocument. For accessing external sources it should be fine though. Not sure if there are better ways to query an AD using some kind of ODBC driver or similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 10:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBA-script-during-load/m-p/175250#M1311564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-04T10:18:39Z</dc:date>
    </item>
    <item>
      <title>VBA script during load?</title>
      <link>https://community.qlik.com/t5/QlikView/VBA-script-during-load/m-p/175251#M1311567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in 0in 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;Im trying to download all of the Active Directort Groups and their subsets&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;I have VBA code that works fine in exce, but I cnat get it to work in the load..&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;"&gt;any ideas?&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;Sub&lt;/B&gt; GetADNames&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;Dim&lt;/B&gt; objGroup, objExcel, iRow, strUser, iColumn&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;Dim&lt;/B&gt; X As &lt;B&gt;String&lt;/B&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;"A1"). &lt;B&gt;Select&lt;/B&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;Do&lt;/B&gt; &lt;B&gt;While&lt;/B&gt; ActiveCell.SpecialCells(xlCellTypeLastCell).Column + 1 &amp;gt; ActiveCell.Column&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;On&lt;/B&gt; &lt;B&gt;Error&lt;/B&gt; &lt;B&gt;Resume&lt;/B&gt; &lt;B&gt;Next&lt;/B&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;Set&lt;/B&gt; objGroup = &lt;B&gt;GetObject&lt;/B&gt;("LDAP://CN=" &amp;amp; X &amp;amp; ",ou=Qlikview Groups, ou=groups,ou=Users &amp;amp; Groups,dc=Test,dc=com")&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;For&lt;/B&gt; &lt;B&gt;Each&lt;/B&gt; strUser In objGroup.Member&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;Set&lt;/B&gt; objUser = &lt;B&gt;GetObject&lt;/B&gt;("LDAP://" &amp;amp; strUser)&lt;/P&gt;&lt;P style="font-weight: bold; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Next&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;End&lt;/B&gt; With&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;Set&lt;/B&gt; objExcel = &lt;B&gt;Nothing&lt;/B&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;Set&lt;/B&gt; objGroup = &lt;B&gt;Nothing&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;Select&lt;/P&gt;&lt;P style="font-weight: bold; margin: 0in 0in 0pt; mso-layout-grid-align: none"&gt;loop&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;mso-layout-grid-align:none;"&gt;&lt;B&gt;End&lt;/B&gt; &lt;B&gt;Sub&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 11:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBA-script-during-load/m-p/175251#M1311567</guid>
      <dc:creator>james</dc:creator>
      <dc:date>2009-12-04T11:15:32Z</dc:date>
    </item>
    <item>
      <title>VBA script during load?</title>
      <link>https://community.qlik.com/t5/QlikView/VBA-script-during-load/m-p/175252#M1311570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Accidentally suggested your post as a solution. Buttons are too close for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Anyway, what happens when you try to run the sub? It looks a little wierd to me also since you try to traverse an Excel file but there is no mention of creating any excel com object or loading any document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 12:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBA-script-during-load/m-p/175252#M1311570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-04T12:27:09Z</dc:date>
    </item>
    <item>
      <title>VBA script during load?</title>
      <link>https://community.qlik.com/t5/QlikView/VBA-script-during-load/m-p/175253#M1311572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cant figure out how to call up the excel object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 21:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBA-script-during-load/m-p/175253#M1311572</guid>
      <dc:creator>james</dc:creator>
      <dc:date>2009-12-04T21:27:39Z</dc:date>
    </item>
  </channel>
</rss>

