<?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 Re: User can't export to QVD with macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429361#M160059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this from API Guide:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("CH01")&lt;/P&gt;&lt;P&gt;obj.ExportEx "C:\test.qvd", 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '4 = qvd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 May 2013 13:38:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-15T13:38:46Z</dc:date>
    <item>
      <title>User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429355#M160053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a simple macro which gives the user a possibility to export a table to a QVD using a macro. It looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13678477964556811" jivemacro_uid="_13678477964556811"&gt;&lt;P&gt;sub ExportObject()&lt;/P&gt;&lt;P&gt;set v=ActiveDocument.getVariable("&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;vChosenWeek&lt;/SPAN&gt;")&lt;/P&gt;&lt;P&gt;set u=ActiveDocument.getVariable("&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;vChosenYear&lt;/SPAN&gt;")&lt;/P&gt;&lt;P&gt;path="E:\QlikView\SourceDocuments\QVD\History\"&lt;/P&gt;&lt;P&gt;Filename="Week "&amp;amp;v.getContent.string &amp;amp; " " &amp;amp;u.getContent.string &amp;amp; ".qvd"&lt;/P&gt;&lt;P&gt;call test("CH173",path&amp;amp;Filename)&lt;/P&gt;&lt;P&gt;end Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub test(objectID,FilePath)&lt;/P&gt;&lt;P&gt;set v=ActiveDocument.getVariable("vChosenWeek")&lt;/P&gt;&lt;P&gt;set u=ActiveDocument.getVariable("vChosenYear")&lt;/P&gt;&lt;P&gt;set o = ActiveDocument.GetSheetObject(objectID)&lt;/P&gt;&lt;P&gt;o.Exportbiff FilePath&lt;/P&gt;&lt;P&gt;set o=nothing&lt;/P&gt;&lt;P&gt;msgbox("Week"&amp;amp;v.getContent.string &amp;amp;" år " &amp;amp;u.getContent.string &amp;amp;" exportet." )&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for my administrator-user. But it doesnt work for other users, allthough I did give them access to the folder where the QVD is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to solve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 13:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429355#M160053</guid>
      <dc:creator />
      <dc:date>2013-05-06T13:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429356#M160054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try to check 'Macro Override Security' in Properties --&amp;gt; Security --&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 14:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429356#M160054</guid>
      <dc:creator>jonathan_dau</dc:creator>
      <dc:date>2013-05-06T14:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429357#M160055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already checked that box, doesn't help I'm afraid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 06:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429357#M160055</guid>
      <dc:creator />
      <dc:date>2013-05-07T06:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429358#M160056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you use System Access&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="40612" class="jive-image-thumbnail jive-image" onclick="" alt="Untitled.png" src="https://community.qlik.com/legacyfs/online/40612_Untitled.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 06:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429358#M160056</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-05-07T06:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429359#M160057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late reply. I tried that, didn't help I'm afraid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 11:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429359#M160057</guid>
      <dc:creator />
      <dc:date>2013-05-15T11:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429360#M160058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the settings in user- and document-properties in tab security and the settings.ini from the users:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Users\USER\AppData\Roaming\QlikTech\QlikView\settings.ini (macro execution could be forbidden)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 13:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429360#M160058</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-05-15T13:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429361#M160059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this from API Guide:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set obj = ActiveDocument.GetSheetObject("CH01")&lt;/P&gt;&lt;P&gt;obj.ExportEx "C:\test.qvd", 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '4 = qvd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 13:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429361#M160059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-15T13:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429362#M160060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Didn't work either I'm afraid &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 07:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429362#M160060</guid>
      <dc:creator />
      <dc:date>2013-05-17T07:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429363#M160061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Work other simple macros like msgbox? Receives the user a security message about macro execution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 07:20:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429363#M160061</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-05-17T07:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429364#M160062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the user gets the msgbox so I guess the macro is being executed, but the file isn't created for some reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 07:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429364#M160062</guid>
      <dc:creator />
      <dc:date>2013-05-17T07:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429365#M160063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Access to external files requires extra rights - have you checked all settings (see post above)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 07:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429365#M160063</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-05-17T07:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429366#M160064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to look into that file, could't find anything on forbidden macros though. Do you know what this variable is called?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 08:37:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429366#M160064</guid>
      <dc:creator />
      <dc:date>2013-05-17T08:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429367#M160065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have also none entries about security in settings.ini. I think those entries will only set if anything became forbidden. For test you could remove this file (after backup) - the settings.ini will new create. I think other settings/access rights are wrong, possibly the path is wrong for the user and E: is here another source.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 09:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429367#M160065</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-05-17T09:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: User can't export to QVD with macro</title>
      <link>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429368#M160066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You were right! It was actually that simple that the user did have another path to E: on the network. Should have thought of that. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 12:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-can-t-export-to-QVD-with-macro/m-p/429368#M160066</guid>
      <dc:creator />
      <dc:date>2013-05-17T12:54:02Z</dc:date>
    </item>
  </channel>
</rss>

