<?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 Copy object to text only works once ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Copy-object-to-text-only-works-once/m-p/242042#M92421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;STRONG&gt;&lt;A href="http://community.qlik.com/members/mmanish75/default.aspx"&gt;Manish&lt;/A&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;That is some usefull code! &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But I just found out that it isn't the code that is causing the problem. it looks like it is the button.&lt;/P&gt;&lt;P&gt;When I go to the properties of the button &amp;gt;&amp;gt; Actions &amp;gt;&amp;gt; Edit Module (@Run Macro) and I run [ Test ] then it does copy the charts.&lt;/P&gt;&lt;P&gt;But when I save this and use the actuel button in the Qlikview document it doesn't.&lt;/P&gt;&lt;P&gt;I already changed the security settings to:&lt;/P&gt;&lt;P style="padding-left:60px;"&gt;Requested Module Security ---- &amp;gt; System Access&lt;BR /&gt;&lt;BR /&gt;Current Local Security --- &amp;gt; Allow System Access&lt;/P&gt;&lt;P&gt;But no difference.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Aug 2010 08:42:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-08-06T08:42:21Z</dc:date>
    <item>
      <title>Copy object to text only works once ?</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-object-to-text-only-works-once/m-p/242040#M92419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I am trying to launch a macro (using a button with an action) which needs to copy text from a charts to the clipboard.&lt;/P&gt;&lt;P&gt;I am using this line (Edit Module):&lt;/P&gt;&lt;P style="font-style: italic; padding-left: 30px"&gt;ActiveDocument.GetSheetObject("CH01").CopyTextToClipboard&lt;/P&gt;&lt;P&gt;And it works...... .. . . . .. once ???&lt;/P&gt;&lt;P&gt;If I use the button again it doesn't do anything anymore. After I close the qlikview file and open it again then it works again, also only once.&lt;/P&gt;&lt;P&gt;Does anybody know why this is and what I can do to fix it?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 15:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-object-to-text-only-works-once/m-p/242040#M92419</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-05T15:46:47Z</dc:date>
    </item>
    <item>
      <title>Copy object to text only works once ?</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-object-to-text-only-works-once/m-p/242041#M92420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, What are you doing with the content after putting it into Clipborad ? IF you required to Paste it in Excel Sheet then you can try the below :-&lt;/P&gt;&lt;P&gt;Sub Export()&lt;BR /&gt; Dim kost&lt;BR /&gt; Set XLApp = CreateObject("Excel.Application")&lt;BR /&gt; XLApp.Visible = TRUE&lt;BR /&gt; Set XLDoc = XLApp.Workbooks.Add&lt;BR /&gt; kost = ""&lt;BR /&gt; kost = "Sheet1"&lt;BR /&gt; ActiveDocument.GetSheetObject("CH01").CopyTextToClipboard 'Copy the charts value&lt;BR /&gt; XLDoc.Sheets(kost).Range("A" &amp;amp; 1).Select&lt;BR /&gt; XLDoc.Sheets(kost).Paste&lt;BR /&gt;&lt;BR /&gt; ActiveDocument.GetSheetObject("CH02").CopyTextToClipboard 'Copy the charts value&lt;BR /&gt; XLDoc.Sheets(kost).Range("H" &amp;amp; 1).Select&lt;BR /&gt; XLDoc.Sheets(kost).Paste&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 08:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-object-to-text-only-works-once/m-p/242041#M92420</guid>
      <dc:creator>manishkumar75</dc:creator>
      <dc:date>2010-08-06T08:10:55Z</dc:date>
    </item>
    <item>
      <title>Copy object to text only works once ?</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-object-to-text-only-works-once/m-p/242042#M92421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;STRONG&gt;&lt;A href="http://community.qlik.com/members/mmanish75/default.aspx"&gt;Manish&lt;/A&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;That is some usefull code! &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But I just found out that it isn't the code that is causing the problem. it looks like it is the button.&lt;/P&gt;&lt;P&gt;When I go to the properties of the button &amp;gt;&amp;gt; Actions &amp;gt;&amp;gt; Edit Module (@Run Macro) and I run [ Test ] then it does copy the charts.&lt;/P&gt;&lt;P&gt;But when I save this and use the actuel button in the Qlikview document it doesn't.&lt;/P&gt;&lt;P&gt;I already changed the security settings to:&lt;/P&gt;&lt;P style="padding-left:60px;"&gt;Requested Module Security ---- &amp;gt; System Access&lt;BR /&gt;&lt;BR /&gt;Current Local Security --- &amp;gt; Allow System Access&lt;/P&gt;&lt;P&gt;But no difference.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 08:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-object-to-text-only-works-once/m-p/242042#M92421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-06T08:42:21Z</dc:date>
    </item>
    <item>
      <title>SV:Re: Copy object to text only works once ?</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-object-to-text-only-works-once/m-p/242043#M92422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need system access to execute that macro.&lt;BR /&gt;&lt;BR /&gt;It might be as simple as that you haven't specifed the macro sub name in the button properties.&lt;BR /&gt;If your macro code reads:&lt;BR /&gt;sub CopyText&lt;BR /&gt;ActiveDocument.GetSheetObject("CH01").CopyTextToClipboard&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;the button properties &amp;gt; Actions &amp;gt; Macro Name should say CopyText&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Staffan&lt;/P&gt;&lt;P&gt;Support Technician, QlikTech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 09:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-object-to-text-only-works-once/m-p/242043#M92422</guid>
      <dc:creator />
      <dc:date>2010-08-06T09:30:10Z</dc:date>
    </item>
    <item>
      <title>SV:Re: Copy object to text only works once ?</title>
      <link>https://community.qlik.com/t5/QlikView/Copy-object-to-text-only-works-once/m-p/242044#M92423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that it! Thanks! &lt;IMG alt="Yes" src="http://community.qlik.com/emoticons/emotion-21.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 09:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Copy-object-to-text-only-works-once/m-p/242044#M92423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-06T09:38:10Z</dc:date>
    </item>
  </channel>
</rss>

