<?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: Macro Issue with Windows 7 client in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-Issue-with-Windows-7-client/m-p/330652#M1275863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested the above macro with another Windows 7 client, It is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue now is it works fine with some windows 7 client and not works with another Windows 7 client and it throws "PasteSpecial method of worksheet class failed".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that, may be missing some permission of IE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2012 07:33:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-04T07:33:24Z</dc:date>
    <item>
      <title>Macro Issue with Windows 7 client</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Issue-with-Windows-7-client/m-p/330651#M1275862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Qlikview exports data into .xls it allows only 256 characters per cell. Here we have data of more than 256 characters per cell. So that I created macro to copy from QV table and paste into .xlsx. It works fine with XP client and not works with Windows 7 client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Server O/S: Windows 2008 R2&lt;/P&gt;&lt;P&gt;Client O/S : Windows XP SP3 - This macro is working fine&lt;/P&gt;&lt;P&gt;Client O/S : Windows 7 - This macro throws error saying "PasteSpecial method of worksheet class failed"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macro Script:&lt;/P&gt;&lt;P&gt;'----------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Public Sub ExportUnTruncated&lt;BR /&gt; set v=ActiveDocument.Fields("Report_Name")&lt;BR /&gt; If(v.GetSelectedValues.count &amp;gt;=1) then&lt;/P&gt;&lt;P&gt;&amp;nbsp; set XLApp = CreateObject("Excel.Application")&lt;BR /&gt;&amp;nbsp; XLApp.Visible = False&lt;BR /&gt;&amp;nbsp; set XLDoc = XLApp.Workbooks.Add&lt;BR /&gt;&amp;nbsp; set table = ActiveDocument.GetSheetObject("CH17")'Copy table and paste into Excel&lt;BR /&gt;&amp;nbsp; set XLSheet = XLDoc.Worksheets(1) 'get the reference to the first sheet&lt;BR /&gt;&amp;nbsp; XLSheet.Activate&lt;/P&gt;&lt;P&gt;&amp;nbsp; table.CopyTableToClipboard true&lt;BR /&gt;&amp;nbsp; XLSheet.Range("A1").PasteSpecial &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; XLSheet.Range("A1").Cells.CurrentRegion.Borders.ColorIndex = 0&lt;BR /&gt;&amp;nbsp; XLSheet.Cells.WrapText = False&amp;nbsp; &lt;BR /&gt;&amp;nbsp; XLApp.Visible = True&lt;BR /&gt; Else&lt;BR /&gt;&amp;nbsp; Msgbox("Please select Week to Export this Report")&lt;BR /&gt; End If &lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;'----------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Can you guys help me to solve this issue. Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yoga&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/Macro-Issue-with-Windows-7-client/m-p/330651#M1275862</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Issue with Windows 7 client</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Issue-with-Windows-7-client/m-p/330652#M1275863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested the above macro with another Windows 7 client, It is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue now is it works fine with some windows 7 client and not works with another Windows 7 client and it throws "PasteSpecial method of worksheet class failed".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that, may be missing some permission of IE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 07:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Issue-with-Windows-7-client/m-p/330652#M1275863</guid>
      <dc:creator />
      <dc:date>2012-07-04T07:33:24Z</dc:date>
    </item>
  </channel>
</rss>

