<?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: Insert blank row after each 3 record in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140423#M906963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prabir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great. I just opened your file and modified few lines of code. Attached the modified file. Hope it helps someone someday.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jun 2016 06:46:31 GMT</pubDate>
    <dc:creator>tamilarasu</dc:creator>
    <dc:date>2016-06-20T06:46:31Z</dc:date>
    <item>
      <title>Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140418#M906958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello All,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I want to insert &lt;SPAN style="font-size: 13.3333px;"&gt;3&lt;/SPAN&gt; blank row after each Data in a Excel.&amp;nbsp; following is my data-&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="data.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/128308_data.JPG" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I want the data as below format.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="data2.JPG" class="jive-image image-2" height="345" src="https://community.qlik.com/legacyfs/online/128309_data2.JPG" width="341" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This means I have to Copy the full data and&amp;nbsp; paste it &lt;SPAN style="font-size: 13.3333px;"&gt;in a excel.&amp;nbsp; &lt;/SPAN&gt;Then Go to last data record and then using a for loop insert a blank row upto A2. Because A1 is the heading.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Please Help. !&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/Insert-blank-row-after-each-3-record/m-p/1140418#M906958</guid>
      <dc:creator>prabir_c</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140419#M906959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attached qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 14:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140419#M906959</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2016-06-17T14:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140420#M906960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva;"&gt;I am using personal edition. So, I am not sure what you have tried. I prepared a sample file from your screenshot and attached the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Sub&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Test()&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Dim&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; XLApp, XLDoc, XLSheet&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;FileName = "Test.xlsx" &lt;BR /&gt;FilePath = ActiveDocument.GetVariable("vVar").GetContent.&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;String&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Right&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(FilePath,1)&amp;lt;&amp;gt; "\" &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;then&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;FilePath = FilePath &amp;amp; "\"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;End&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;File = FilePath &amp;amp; FileName&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Set&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; XLApp = &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;CreateObject&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;("Excel.Application")&amp;nbsp; &lt;BR /&gt;XLApp.&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Visible&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;False&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; 'True to display the excel&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Set&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; XLDoc = XLApp.Workbooks.Add&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Set&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; XLSheet= XLDoc.Worksheets("Sheet1")&lt;BR /&gt; &lt;BR /&gt;ActiveDocument.GetSheetObject("TB01").CopyTableToClipboard &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;True&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;XLSheet.Paste&lt;BR /&gt; &lt;BR /&gt;LastRow = XLSheet.Cells(XLSheet.Rows.Count, 1).&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;End&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(-4162).Row&lt;BR /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;For&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; i = LastRow To 3 Step -1&lt;BR /&gt;XLSheet.Rows(i).Resize(3).InserT&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Next&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;BR /&gt;XLSheet.Range("A1").&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Select&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;XLDoc.SaveAs File &lt;BR /&gt;XLApp.Application.quit&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Set&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; XLApp = Nothing&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Set&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; XLDoc = Nothing&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Set&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; XLSheet = Nothing&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Msgbox&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; "Exported Sucessfully" &amp;amp; VbNewline &amp;amp; vbNewline &amp;amp; "File path: " &amp;amp; File, vbInformation , "Export"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;End&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Sub &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: verdana, geneva;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: verdana, geneva; color: blue;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;If you have any issues, let me know.&lt;/SPAN&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: verdana, geneva;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 15:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140420#M906960</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-06-17T15:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140421#M906961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Tamil for your help.. It is working perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 04:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140421#M906961</guid>
      <dc:creator>prabir_c</dc:creator>
      <dc:date>2016-06-20T04:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140422#M906962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks m w fro your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 04:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140422#M906962</guid>
      <dc:creator>prabir_c</dc:creator>
      <dc:date>2016-06-20T04:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140423#M906963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prabir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great. I just opened your file and modified few lines of code. Attached the modified file. Hope it helps someone someday.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 06:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140423#M906963</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-06-20T06:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140424#M906964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamil,&lt;/P&gt;&lt;P&gt;How do you enter a blank row every time the text "Total" is found in the same column?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 07:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140424#M906964</guid>
      <dc:creator />
      <dc:date>2016-10-05T07:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140425#M906965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clare,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached file. Let me know If you have any questions. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 02:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140425#M906965</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-10-06T02:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140426#M906966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tamil, I don't know what i did wrong here, would you suggest me here. Default when i am trying to hit the Button it goes to Code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ExcelFile&lt;/P&gt;&lt;P&gt;Dim XLApp, XLDoc, XLSheet&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FileName = "&lt;STRONG&gt;Z:\Test.xlsx&lt;/STRONG&gt;" &lt;/P&gt;&lt;P&gt;FilePath = ActiveDocument.GetVariable("vVar").GetContent.String&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Right(FilePath,1)&amp;lt;&amp;gt; "\" then&lt;/P&gt;&lt;P&gt;FilePath = FilePath &amp;amp; "\"&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File = FilePath &amp;amp; FileName&lt;/P&gt;&lt;P&gt;Set XLApp = CreateObject("Excel.Application")&amp;nbsp; &lt;/P&gt;&lt;P&gt;XLApp.Visible = False 'True to display the excel&lt;/P&gt;&lt;P&gt;Set XLDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;P&gt;Set XLSheet= XLDoc.Worksheets("Sheet1")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject("TB01").CopyTableToClipboard True&lt;/P&gt;&lt;P&gt;XLSheet.Paste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LastRow = XLSheet.Cells(XLSheet.Rows.Count, 1).End(-4162).Row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i = LastRow To 3 Step -1&lt;/P&gt;&lt;P&gt;XLSheet.Rows(i).Resize(3).InserT&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XLSheet.Range("A1").Select&lt;/P&gt;&lt;P&gt;XLDoc.SaveAs File &lt;/P&gt;&lt;P&gt;XLApp.Application.quit&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set XLApp = Nothing&amp;nbsp; &lt;/P&gt;&lt;P&gt;Set XLDoc = Nothing&amp;nbsp; &lt;/P&gt;&lt;P&gt;Set XLSheet = Nothing&amp;nbsp; &lt;/P&gt;&lt;P&gt;Msgbox "Exported Sucessfully" &amp;amp; VbNewline &amp;amp; vbNewline &amp;amp; "File path: " &amp;amp; File, vbInformation , "Export"&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 05:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140426#M906966</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-06T05:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140427#M906969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You have to change the macro security setting like in the below picture.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139803_Capture.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I did a minor change in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Sub ExcelFile&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Dim XLApp, XLDoc, XLSheet &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;File &lt;/SPAN&gt;= "&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Z:\Test.xlsx&lt;/STRONG&gt;" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Set XLApp = CreateObject("Excel.Application") &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;XLApp.Visible = False 'True to display the excel&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Set XLDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Set XLSheet= XLDoc.Worksheets("Sheet1")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;ActiveDocument.GetSheetObject("TB01").CopyTableToClipboard True&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;XLSheet.Paste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;LastRow = XLSheet.Cells(XLSheet.Rows.Count, 1).End(-4162).Row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;For i = LastRow To 3 Step -1&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;XLSheet.Rows(i).Resize(3).InserT&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;XLSheet.Range("A1").Select&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;XLDoc.SaveAs File&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;XLApp.Application.quit &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Set XLApp = Nothing &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Set XLDoc = Nothing &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Set XLSheet = Nothing &lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Msgbox "Exported Sucessfully" &amp;amp; VbNewline &amp;amp; vbNewline &amp;amp; "File path: " &amp;amp; File, vbInformation , "Export"&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 06:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140427#M906969</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-10-06T06:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140428#M906971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamil,&lt;/P&gt;&lt;P&gt;Thank you, I am very new to this so I might be doing something wrong or what I am asking for is incorrect.&lt;/P&gt;&lt;P&gt;I have attached what I would like to achieve in excel.&lt;IMG alt="Insert Total Row.tif" class="jive-image image-1" src="/legacyfs/online/139810_Insert Total Row.tif" style="width: 620px; height: 183px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 06:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140428#M906971</guid>
      <dc:creator />
      <dc:date>2016-10-06T06:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Insert blank row after each 3 record</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140429#M906972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;No problem Clare. Is it possible to attach your application or sample one.? It would be easy for me to help you better. I would suggest you to start a new question.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 06:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-blank-row-after-each-3-record/m-p/1140429#M906972</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-10-07T06:22:00Z</dc:date>
    </item>
  </channel>
</rss>

