<?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 Failure using find and replace in excel file using QlikView macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Failure-using-find-and-replace-in-excel-file-using-QlikView/m-p/409008#M152076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my first post so I hope I can give enough info to get help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating an excel file from my pivot table and I need to add the average of the data in a column in the last row.&amp;nbsp; Some of the rows have a zero value and this distorts the average.&amp;nbsp; I need to replace the zeroes with an empty field. When I capture the find/replace as an excel macro I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Cells.Replace What:="0", Replacement:="", LookAt:=xlWhole, SearchOrder:= _&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; sheet.Columns("D:D").Replace What="0", Replacement="",LookAt=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error message : Microsoft Excel cannot find any data to replace .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried many variations of my code -- always with the same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Suggestions?&lt;/P&gt;&lt;P&gt;THANKS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2013 16:35:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-09T16:35:41Z</dc:date>
    <item>
      <title>Failure using find and replace in excel file using QlikView macro</title>
      <link>https://community.qlik.com/t5/QlikView/Failure-using-find-and-replace-in-excel-file-using-QlikView/m-p/409008#M152076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my first post so I hope I can give enough info to get help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating an excel file from my pivot table and I need to add the average of the data in a column in the last row.&amp;nbsp; Some of the rows have a zero value and this distorts the average.&amp;nbsp; I need to replace the zeroes with an empty field. When I capture the find/replace as an excel macro I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Cells.Replace What:="0", Replacement:="", LookAt:=xlWhole, SearchOrder:= _&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; sheet.Columns("D:D").Replace What="0", Replacement="",LookAt=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error message : Microsoft Excel cannot find any data to replace .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried many variations of my code -- always with the same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Suggestions?&lt;/P&gt;&lt;P&gt;THANKS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 16:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Failure-using-find-and-replace-in-excel-file-using-QlikView/m-p/409008#M152076</guid>
      <dc:creator />
      <dc:date>2013-01-09T16:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Failure using find and replace in excel file using QlikView macro</title>
      <link>https://community.qlik.com/t5/QlikView/Failure-using-find-and-replace-in-excel-file-using-QlikView/m-p/409009#M152077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Try: sheet.Columns("D:D").Replace "0","",1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;If it doesn't work, try searching the internet for vbscript examples. This is not a Qlikview question, but a vbscript question.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2013 15:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Failure-using-find-and-replace-in-excel-file-using-QlikView/m-p/409009#M152077</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-01-12T15:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Failure using find and replace in excel file using QlikView macro</title>
      <link>https://community.qlik.com/t5/QlikView/Failure-using-find-and-replace-in-excel-file-using-QlikView/m-p/409010#M152078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response.  But I am still getting the same error message.  However, reading al l  the way to the end of the long error message, I see “ may be on a protected sheet”. I might have jumped to the wrong conclusion about the nature of the error.  Unfortunately I have no idea what a “protected sheet” is or how to “unprotect” it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 13:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Failure-using-find-and-replace-in-excel-file-using-QlikView/m-p/409010#M152078</guid>
      <dc:creator />
      <dc:date>2013-01-14T13:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Failure using find and replace in excel file using QlikView macro</title>
      <link>https://community.qlik.com/t5/QlikView/Failure-using-find-and-replace-in-excel-file-using-QlikView/m-p/409011#M152079</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 am also getting a similar error, please let me know if you found a way to replace some text via a macro in an exported excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Puneet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 00:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Failure-using-find-and-replace-in-excel-file-using-QlikView/m-p/409011#M152079</guid>
      <dc:creator />
      <dc:date>2013-01-24T00:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Failure using find and replace in excel file using QlikView macro</title>
      <link>https://community.qlik.com/t5/QlikView/Failure-using-find-and-replace-in-excel-file-using-QlikView/m-p/409012#M152080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I was not successful in correcting the issue.  I think it really was the “Protection” problem.  I did a work around by creating a macro in the master document that I was adding the data to.  The user must execute the macro to get the desired result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 13:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Failure-using-find-and-replace-in-excel-file-using-QlikView/m-p/409012#M152080</guid>
      <dc:creator />
      <dc:date>2013-01-25T13:01:35Z</dc:date>
    </item>
  </channel>
</rss>

