<?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 Sometimes. Macro paste method failed or incorrect format. Clipboard? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sometimes-Macro-paste-method-failed-or-incorrect-format/m-p/1267351#M399101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has long been observed that sometimes the most common simple VB macros to work through the clipboard in different locations, or an error or rarely inserts incorrect data (for example, instead of the text that is ????? question marks).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, that makes me angry sometimes works, sometimes not. That is the reason I can not understand yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand it, I is not one, there is at least an understanding of the causes? Or are other ways to work complex algorithms and complex formats in excel but not through the clipboard?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2017 07:39:52 GMT</pubDate>
    <dc:creator>warfollowmy_ver</dc:creator>
    <dc:date>2017-01-18T07:39:52Z</dc:date>
    <item>
      <title>Sometimes. Macro paste method failed or incorrect format. Clipboard?</title>
      <link>https://community.qlik.com/t5/QlikView/Sometimes-Macro-paste-method-failed-or-incorrect-format/m-p/1267351#M399101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has long been observed that sometimes the most common simple VB macros to work through the clipboard in different locations, or an error or rarely inserts incorrect data (for example, instead of the text that is ????? question marks).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, that makes me angry sometimes works, sometimes not. That is the reason I can not understand yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand it, I is not one, there is at least an understanding of the causes? Or are other ways to work complex algorithms and complex formats in excel but not through the clipboard?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 07:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sometimes-Macro-paste-method-failed-or-incorrect-format/m-p/1267351#M399101</guid>
      <dc:creator>warfollowmy_ver</dc:creator>
      <dc:date>2017-01-18T07:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes. Macro paste method failed or incorrect format. Clipboard?</title>
      <link>https://community.qlik.com/t5/QlikView/Sometimes-Macro-paste-method-failed-or-incorrect-format/m-p/1267352#M399102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reasons for errors by copy + paste per clipboard are rather rarely but if they occur they are very difficult to identify and to resolve. I think that in the most cases the OS will cause the errors because the clipboard.exe belonged to them and qlikview used this feature like any other programs does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look here to understand the problem more clearly and which things could be tried to resolve the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1049044"&gt;Re: Failed to copy to clipboard&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/591131"&gt;Re: copy clipboard failed&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following approach will completely avoid the copy-topic because the qlik-objects will be read cell for cell and could be write in the same way in excel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set table = ActiveDocument.GetSheetObject( "CH01" )&lt;/P&gt;&lt;P&gt;for RowIter = 0 to table.GetRowCount-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ColIter =0 to table.GetColumnCount-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cell = table.GetCell(RowIter,ColIter)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox(cell.Text)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;/P&gt;&lt;P&gt;next&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, 18 Jan 2017 09:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sometimes-Macro-paste-method-failed-or-incorrect-format/m-p/1267352#M399102</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-18T09:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes. Macro paste method failed or incorrect format. Clipboard?</title>
      <link>https://community.qlik.com/t5/QlikView/Sometimes-Macro-paste-method-failed-or-incorrect-format/m-p/1267353#M399103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Thank you we will think&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 09:28:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sometimes-Macro-paste-method-failed-or-incorrect-format/m-p/1267353#M399103</guid>
      <dc:creator>warfollowmy_ver</dc:creator>
      <dc:date>2017-01-18T09:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sometimes. Macro paste method failed or incorrect format. Clipboard?</title>
      <link>https://community.qlik.com/t5/QlikView/Sometimes-Macro-paste-method-failed-or-incorrect-format/m-p/1267354#M399104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this topic &lt;A href="https://community.qlik.com/message/591131"&gt;Re: copy clipboard failed&lt;/A&gt; Thank you, these days have shown that you are absolutely right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;EM&gt;I have noticed that following statements are missing which often avoid problems:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;qvDoc.GetApplication.WaitForIdle 'wait until all qv calculations are finsih&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;STRONG&gt;&lt;EM&gt;XLDoc.sheets(YourSheet).Activate 'activate the sheet before using&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 00:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sometimes-Macro-paste-method-failed-or-incorrect-format/m-p/1267354#M399104</guid>
      <dc:creator>warfollowmy_ver</dc:creator>
      <dc:date>2017-02-01T00:08:38Z</dc:date>
    </item>
  </channel>
</rss>

