<?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 for replacing current data in excel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-for-replacing-current-data-in-excel/m-p/1229482#M863485</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;So you need to updated it like a report? Where You have already an excel with data but you need to update just the graphic? Cause I recommend you to make the report from Qlikview:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147571_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;You can Create your sheet with all the data and graphics you need, and update every month&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/147575_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Hope This helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Dec 2016 17:21:14 GMT</pubDate>
    <dc:creator>joseduque</dc:creator>
    <dc:date>2016-12-23T17:21:14Z</dc:date>
    <item>
      <title>Macro for replacing current data in excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-for-replacing-current-data-in-excel/m-p/1229479#M863482</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'm new to Qlik/macros, any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking to export my tables from Qlikview and paste into already created excel files where the current table will be overwritten with the new table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-for-replacing-current-data-in-excel/m-p/1229479#M863482</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for replacing current data in excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-for-replacing-current-data-in-excel/m-p/1229480#M863483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe below link?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/80672"&gt;Qlikview to excel export macro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you need to edit it as per your requirement, CH number or destination folder etc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 16:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-for-replacing-current-data-in-excel/m-p/1229480#M863483</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2016-12-23T16:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for replacing current data in excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-for-replacing-current-data-in-excel/m-p/1229481#M863484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1 Example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; font-family: 'Courier New'; color: blue;"&gt;Sub DeleteFiles&lt;BR /&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;Set filesys = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt; If filesys.FileExists("&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 18.6667px;"&gt;C:&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 18.6667px;"&gt;\&lt;/SPAN&gt;Folder\&lt;/SPAN&gt;tmp.xlsx") then&lt;BR /&gt; filesys.DeleteFile "&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 18.6667px;"&gt;C:&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 18.6667px;"&gt;\&lt;/SPAN&gt;Folder\&lt;/SPAN&gt;tmp.xlsx"&lt;BR /&gt; Msgbox("Files Deleted")&lt;BR /&gt; Else&lt;BR /&gt; Msgbox("No Files to delete")&lt;BR /&gt; End If&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; font-family: 'Courier New'; color: blue;"&gt;End Sub&lt;BR /&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; font-family: 'Courier New'; color: blue;"&gt;sub Export_Excel&lt;BR /&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;set oXL=CreateObject("Excel.Application")&lt;BR /&gt; &lt;BR /&gt; oXL.Workbooks.Add&lt;BR /&gt; oXL.visible=True&lt;BR /&gt; aSheetObj=Array("CH08","CH09")&lt;BR /&gt; for i=0 to UBound(aSheetObj)&lt;BR /&gt; oXL.Sheets.Add&amp;nbsp; &lt;BR /&gt; Set oSH = oXL.ActiveSheet&lt;BR /&gt; oSH.Range("A1").Select&amp;nbsp;&amp;nbsp; &lt;BR /&gt; Set obj = ActiveDocument.GetSheetObject(aSheetObj(i))&lt;BR /&gt; obj.CopyTableToClipboard True&lt;BR /&gt; oSH.Paste&lt;BR /&gt; sCaption=obj.GetCaption.Name.v&lt;BR /&gt; set obj=Nothing &lt;BR /&gt; &lt;BR /&gt; oSH.Name=left(sCaption,30)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; oSH.Rows("1:1").Select&lt;BR /&gt; oXL.Selection.Font.Bold = True&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; oSH.Cells.Select&lt;BR /&gt; oXL.Selection.Columns.AutoFit&lt;BR /&gt; oSH.Range("A1").Select&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; next&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; font-family: 'Courier New'; color: blue;"&gt;call&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN lang="EN-US" style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;DeleteFiles &lt;BR /&gt; oSH.SaveAs "C:&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 18.6667px;"&gt;\&lt;/SPAN&gt;Folder\tmp.xlsx",51&lt;BR /&gt; &lt;BR /&gt; set oSH=Nothing&lt;BR /&gt; set oXL=Nothing&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; font-family: 'Courier New'; color: blue;"&gt;end sub&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; font-family: 'Courier New'; color: blue;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 17:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-for-replacing-current-data-in-excel/m-p/1229481#M863484</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2016-12-23T17:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for replacing current data in excel</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-for-replacing-current-data-in-excel/m-p/1229482#M863485</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;So you need to updated it like a report? Where You have already an excel with data but you need to update just the graphic? Cause I recommend you to make the report from Qlikview:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147571_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;You can Create your sheet with all the data and graphics you need, and update every month&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/147575_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Hope This helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 17:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-for-replacing-current-data-in-excel/m-p/1229482#M863485</guid>
      <dc:creator>joseduque</dc:creator>
      <dc:date>2016-12-23T17:21:14Z</dc:date>
    </item>
  </channel>
</rss>

