<?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/1636801#M733135</link>
    <description>&lt;P&gt;Try the attached qvw&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2019 14:54:17 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2019-10-17T14:54:17Z</dc:date>
    <item>
      <title>Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636688#M733130</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My code for export is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sub Export_CrtneKode
	  Timestamp = Year(Date())&amp;amp;"-"&amp;amp;Month(Date())&amp;amp;"-"&amp;amp;Day(Date())
	'Create the Excel spreadsheet
	Set excelFile = CreateObject("Excel.Application")
	excelFile.Visible = false 'or false to run in background
  
    'Create the WorkBook
    Set curWorkBook = excelFile.WorkBooks.Add
    'Create the Sheet
    'first chart object
    Set curSheet = curWorkBook.WorkSheets(1)

	'paste the object
	Set i = ActiveDocument.GetSheetObject("CH02")
    i.CopyTableToClipboard true
	curSheet.Cells(1, 1).Select
	curSheet.Paste
	
	'to clear the clipboard
	curSheet.Cells(1, 100).Copy
	
	
	'define all cells format	
	curSheet.Columns("A").EntireColumn.NumberFormat = "0"
	curSheet.Columns(2).ColumnWidth = 50
	curSheet.Columns("B").EntireColumn.NumberFormat = "@"
	curSheet.Columns("C").EntireColumn.NumberFormat = "@"
	curSheet.Columns("D").EntireColumn.NumberFormat = "0"
	curSheet.Columns(5).ColumnWidth = 20
	curSheet.Columns("E").EntireColumn.NumberFormat = "@"
	curSheet.Columns("F").EntireColumn.NumberFormat = "@"
	curSheet.Columns("G").EntireColumn.NumberFormat = "@"
	curSheet.Columns("H").EntireColumn.NumberFormat = "@"
			
	excelFile.Visible = true
	'Save the file and quit excel
	excelFile.DisplayAlerts = False
	curWorkBook.SaveAs "S:\Porocanje QlikView\Izdelki Farmadent\ČRTNE KODE FD"&amp;amp;" "&amp;amp;timestamp&amp;amp;".xlsx"
	excelFile.DisplayAlerts = True
    curWorkBook.Close
    excelFile.Quit
    'Cleanup
    Set curWorkBook = nothing
    Set excelFile = nothing    

end sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Column E is EAN code formatted as text.&amp;nbsp; After export the cell is displayed e.g.&amp;nbsp;6,94952E+12 instead of 6949517000018.&lt;/P&gt;&lt;P&gt;Any idea how can I solve this?&lt;/P&gt;&lt;P&gt;TIA, Igor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636688#M733130</guid>
      <dc:creator>thepiapus</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636693#M733131</link>
      <description>&lt;P&gt;Maybe format the column before pasting the data into the column?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 12:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636693#M733131</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-10-17T12:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636697#M733132</link>
      <description>&lt;P&gt;Doesn't help..&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 12:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636697#M733132</guid>
      <dc:creator>thepiapus</dc:creator>
      <dc:date>2019-10-17T12:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636704#M733133</link>
      <description>&lt;P&gt;Maybe set the column width before the paste?&lt;/P&gt;&lt;P&gt;Can you attach a sample qvw?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 13:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636704#M733133</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-10-17T13:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636716#M733134</link>
      <description>&lt;P&gt;Attached..Setting column width before pasting didn't help&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 13:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636716#M733134</guid>
      <dc:creator>thepiapus</dc:creator>
      <dc:date>2019-10-17T13:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636801#M733135</link>
      <description>&lt;P&gt;Try the attached qvw&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 14:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636801#M733135</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-10-17T14:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636992#M733136</link>
      <description>&lt;P&gt;Thanks a lot for your effort.&lt;/P&gt;&lt;P&gt;It's funny..I have version 12.30 at work and the export stops at line&amp;nbsp;&lt;STRONG&gt;curSheet.PasteSpecial "Text",false,False&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error is:&lt;EM&gt;&amp;nbsp;pastespecial method of worksheet class failed&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;At home I have ver. 11.20 and macro works without problem...I have no idea why?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 06:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1636992#M733136</guid>
      <dc:creator>thepiapus</dc:creator>
      <dc:date>2019-10-18T06:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1637142#M733137</link>
      <description>&lt;P&gt;I'm on 12.4 and it works for me??&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 11:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1637142#M733137</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-10-18T11:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1637151#M733138</link>
      <description>&lt;P&gt;I know it's weird. I&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;also tried on qv server and got the same error. Do you think that could be office related?&amp;nbsp;&lt;BR /&gt;In both cases where it does not work is office 2010 installed. At home I have office 2013 and it's working..&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 12:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1637151#M733138</guid>
      <dc:creator>thepiapus</dc:creator>
      <dc:date>2019-10-18T12:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1637153#M733139</link>
      <description>&lt;P&gt;That sounds likely. I have Office 365.&lt;BR /&gt;What I did to figure out the macro was to run it down to the place where it copied the QV chart. Then I recorded a macro in Excel and did Paste Special. It came up with the choices "HTML", "Text", and one other option which I forget. If I chose HTML, the cell would show scientific notation. If I chose Text, it showed the full value. Maybe Excel 2010 will show different Paste Special choices or record the macro differently.&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 12:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1637153#M733139</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-10-18T12:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1637157#M733140</link>
      <description>&lt;P&gt;Thx....:-)&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 12:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel/m-p/1637157#M733140</guid>
      <dc:creator>thepiapus</dc:creator>
      <dc:date>2019-10-18T12:24:41Z</dc:date>
    </item>
  </channel>
</rss>

