<?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: Export to excel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/495717#M185397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi n1ef5ng1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using the IE plugin ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean you wish to export the name of the table into the excel spreadsheet you could do this using a macro such as the one below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem is making sure the module security is set to 'Give System Access to module script' using Ctrl+Shift+M in the document.&amp;nbsp; Fine for 1\2 users but might be a pain if you have a lot of users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ExcelExportWithTitle()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Doc = ActiveDocument &lt;/P&gt;&lt;P&gt;Set obj = Doc.GetSheetObject("CH13")&lt;/P&gt;&lt;P&gt;Set XLApp = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;XLApp.Visible = True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Create a new excel worksheet&lt;/P&gt;&lt;P&gt;Set XLDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;P&gt;Set rngStart = XLDoc.Sheets(1).Range("A2")&lt;/P&gt;&lt;P&gt;Set XLSheet = XLDoc.Worksheets("Sheet1")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Copy the table to Excel&lt;/P&gt;&lt;P&gt;obj.CopyTableToClipboard True&lt;/P&gt;&lt;P&gt;XLSheet.Paste rngStart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Set the Caption value as the first row&lt;/P&gt;&lt;P&gt;XLSheet.Range("A1").Value = obj.GetCaption.Name.v&lt;/P&gt;&lt;P&gt;Set title = XLSheet.Range("A1")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Resize the cells&lt;/P&gt;&lt;P&gt;XLDoc.Worksheets("Sheet1").Cells.Select&lt;/P&gt;&lt;P&gt;XLDoc.Worksheets("Sheet1").Cells.EntireRow.RowHeight = 12.75&lt;/P&gt;&lt;P&gt;XLDoc.Worksheets("Sheet1").Cells.EntireColumn.AutoFit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://practical-qlik.com"&gt;http://practical-qlik.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://twitter.com/PracticalQlik"&gt;https://twitter.com/PracticalQlik&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://practical-qlikview.tumblr.com/"&gt;http://practical-qlikview.tumblr.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Aug 2013 10:29:45 GMT</pubDate>
    <dc:creator>markodonovan</dc:creator>
    <dc:date>2013-08-15T10:29:45Z</dc:date>
    <item>
      <title>Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/495715#M185395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My qlikview table are up on the server, it seems that when user export the table via excel, it does not export the table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there anyway we can export the table name as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 02:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/495715#M185395</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2013-08-15T02:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/495716#M185396</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;When using the option "Send to Excel" (via IE Plugin) a new file will be created and named as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;object ID&amp;gt;_YYYMMDD_HHmmss.xls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means you can specify another ID for the table in order to change the name of the resulting file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cesar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 09:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/495716#M185396</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2013-08-15T09:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/495717#M185397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi n1ef5ng1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using the IE plugin ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean you wish to export the name of the table into the excel spreadsheet you could do this using a macro such as the one below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem is making sure the module security is set to 'Give System Access to module script' using Ctrl+Shift+M in the document.&amp;nbsp; Fine for 1\2 users but might be a pain if you have a lot of users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ExcelExportWithTitle()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Doc = ActiveDocument &lt;/P&gt;&lt;P&gt;Set obj = Doc.GetSheetObject("CH13")&lt;/P&gt;&lt;P&gt;Set XLApp = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;XLApp.Visible = True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Create a new excel worksheet&lt;/P&gt;&lt;P&gt;Set XLDoc = XLApp.Workbooks.Add&lt;/P&gt;&lt;P&gt;Set rngStart = XLDoc.Sheets(1).Range("A2")&lt;/P&gt;&lt;P&gt;Set XLSheet = XLDoc.Worksheets("Sheet1")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Copy the table to Excel&lt;/P&gt;&lt;P&gt;obj.CopyTableToClipboard True&lt;/P&gt;&lt;P&gt;XLSheet.Paste rngStart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Set the Caption value as the first row&lt;/P&gt;&lt;P&gt;XLSheet.Range("A1").Value = obj.GetCaption.Name.v&lt;/P&gt;&lt;P&gt;Set title = XLSheet.Range("A1")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Resize the cells&lt;/P&gt;&lt;P&gt;XLDoc.Worksheets("Sheet1").Cells.Select&lt;/P&gt;&lt;P&gt;XLDoc.Worksheets("Sheet1").Cells.EntireRow.RowHeight = 12.75&lt;/P&gt;&lt;P&gt;XLDoc.Worksheets("Sheet1").Cells.EntireColumn.AutoFit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://practical-qlik.com"&gt;http://practical-qlik.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://twitter.com/PracticalQlik"&gt;https://twitter.com/PracticalQlik&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://practical-qlikview.tumblr.com/"&gt;http://practical-qlikview.tumblr.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 10:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/495717#M185397</guid>
      <dc:creator>markodonovan</dc:creator>
      <dc:date>2013-08-15T10:29:45Z</dc:date>
    </item>
  </channel>
</rss>

