<?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 problem with macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-macro/m-p/228669#M80675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all ,&lt;/P&gt;&lt;P&gt;i am facing&lt;/P&gt;&lt;P&gt;Wrong number of arguments or invalid property assignment: 'temp.UserPermissions.AllowExport' on running following macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub HideXL&lt;/P&gt;&lt;P&gt;msgbox(ActiveDocument.GetProperties.UserPermissions.AllowExport)&lt;/P&gt;&lt;P&gt;temp=ActiveDocument.GetProperties.UserPermissions.AllowExport&lt;/P&gt;&lt;P&gt;if temp then&lt;/P&gt;&lt;P&gt;msgbox("Export allowed")&lt;/P&gt;&lt;P&gt;temp=ActiveDocument.GetProperties temp.UserPermissions.AllowExport =false&lt;/P&gt;&lt;P&gt;ActiveDocument.SetProperties temp&lt;/P&gt;&lt;P&gt;msgbox(ActiveDocument.GetProperties.UserPermissions.AllowExport)&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Dec 2010 07:30:47 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2010-12-21T07:30:47Z</dc:date>
    <item>
      <title>problem with macro</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-macro/m-p/228669#M80675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all ,&lt;/P&gt;&lt;P&gt;i am facing&lt;/P&gt;&lt;P&gt;Wrong number of arguments or invalid property assignment: 'temp.UserPermissions.AllowExport' on running following macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub HideXL&lt;/P&gt;&lt;P&gt;msgbox(ActiveDocument.GetProperties.UserPermissions.AllowExport)&lt;/P&gt;&lt;P&gt;temp=ActiveDocument.GetProperties.UserPermissions.AllowExport&lt;/P&gt;&lt;P&gt;if temp then&lt;/P&gt;&lt;P&gt;msgbox("Export allowed")&lt;/P&gt;&lt;P&gt;temp=ActiveDocument.GetProperties temp.UserPermissions.AllowExport =false&lt;/P&gt;&lt;P&gt;ActiveDocument.SetProperties temp&lt;/P&gt;&lt;P&gt;msgbox(ActiveDocument.GetProperties.UserPermissions.AllowExport)&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 07:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-macro/m-p/228669#M80675</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2010-12-21T07:30:47Z</dc:date>
    </item>
  </channel>
</rss>

