<?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 Easy export of some Excel-Files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Easy-export-of-some-Excel-Files/m-p/151051#M28965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;STRONG&gt;Mehlhorn ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do it in two steps.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First Step:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * from abc.xls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let x=fieldvalue(your_column_name,1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let y='Your path' &amp;amp; $(x);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Second Step:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;noconcatenate load * from abc.xls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(here load the excel file from second row onwards)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;store Test2 into $(y);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Try this. It should work fine.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2009 12:59:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-05T12:59:47Z</dc:date>
    <item>
      <title>Easy export of some Excel-Files</title>
      <link>https://community.qlik.com/t5/QlikView/Easy-export-of-some-Excel-Files/m-p/151050#M28964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Forum,&lt;/P&gt;&lt;P&gt;I can write some loading scripts - but no Macros.&lt;/P&gt;&lt;P&gt;So I need some help:&lt;/P&gt;&lt;P&gt;I have a table with some rows.&lt;/P&gt;&lt;P&gt;The content of first row shall be the name of the excel-file and all the rows shall be the content of the file.&lt;/P&gt;&lt;P&gt;So there has to be a loop like&lt;/P&gt;&lt;P&gt;for i=1 to fieldvaluecount ('firtsrowname')&lt;/P&gt;&lt;P&gt;let aktvalue=fieldvalue ('firstrowname', $(i));&lt;/P&gt;&lt;P&gt;qualify *;&lt;/P&gt;&lt;P&gt;temptable:&lt;/P&gt;&lt;P&gt;load * resident firstrowname where firstrowname='$aktvalue');&lt;/P&gt;&lt;P&gt;store * from temptable into '$aktvalue'.qvd;&lt;/P&gt;&lt;P&gt;drop table temptable;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now i want to have the data not in separate QSV but in separate Excel - the same like the script above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do?&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Bjoern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 02:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Easy-export-of-some-Excel-Files/m-p/151050#M28964</guid>
      <dc:creator />
      <dc:date>2009-08-05T02:19:07Z</dc:date>
    </item>
    <item>
      <title>Easy export of some Excel-Files</title>
      <link>https://community.qlik.com/t5/QlikView/Easy-export-of-some-Excel-Files/m-p/151051#M28965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;STRONG&gt;Mehlhorn ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do it in two steps.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First Step:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * from abc.xls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let x=fieldvalue(your_column_name,1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let y='Your path' &amp;amp; $(x);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Second Step:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;noconcatenate load * from abc.xls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(here load the excel file from second row onwards)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;store Test2 into $(y);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Try this. It should work fine.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 12:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Easy-export-of-some-Excel-Files/m-p/151051#M28965</guid>
      <dc:creator />
      <dc:date>2009-08-05T12:59:47Z</dc:date>
    </item>
    <item>
      <title>Easy export of some Excel-Files</title>
      <link>https://community.qlik.com/t5/QlikView/Easy-export-of-some-Excel-Files/m-p/151052#M28966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I don't really understood ur problem , but still see if this help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a macro which will export all the object on a sheet(Table, chart &amp;amp; List's) in a excel file leaving one alternate column. It is like this&lt;/P&gt;&lt;P&gt;'****************************************************************************************************************************************************************&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub CopyToXL&lt;/P&gt;&lt;P&gt;dim iCount&lt;/P&gt;&lt;P&gt;dim ObjName&lt;/P&gt;&lt;P&gt;dim ObjCaption&lt;/P&gt;&lt;P&gt;iCount=65&lt;/P&gt;&lt;P&gt;set XLApp = CreateObject("Excel.Application") ' Define Object&lt;/P&gt;&lt;P&gt;XLApp.Visible = True 'Visible set as true&lt;/P&gt;&lt;P&gt;set XLDoc = XLApp.Workbooks.Add 'Open new workbook&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Take the List of Object's in Excel&lt;/P&gt;&lt;P&gt;set XLSheet = XLDoc.Worksheets(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shtobj = ActiveDocument.ActiveSheet.GetSheetObjects&lt;/P&gt;&lt;P&gt;for i = lBound(Shtobj) to uBound(Shtobj)&lt;/P&gt;&lt;P&gt;' Get TB1&lt;/P&gt;&lt;P&gt;set SheetObj = ActiveDocument.GetSheetObject(Shtobj(i).GetObjectId)&lt;/P&gt;&lt;P&gt;ObjName = Shtobj(i).GetObjectId&lt;/P&gt;&lt;P&gt;ObjCaption = Shtobj(i).GetCaption.Name.v&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Mid(ObjName,10,2)="LB" or Mid(ObjName,10,2)="TB" or Mid(ObjName,10,2)="CH" Then&lt;/P&gt;&lt;P&gt;'ObjCaption = SheetObj.Caption&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(((iCount-65)/26) &amp;gt; 1 ) Then&lt;/P&gt;&lt;P&gt;Cell = chr(((iCount-65)/26) + 64) &amp;amp; Chr(((iCount -65) Mod 26) + 65)&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;Cell = Chr(iCount)&lt;/P&gt;&lt;P&gt;End if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SheetObj.CopyTableToClipboard true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XLSheet.Range(Cell&amp;amp; "1") = ObjCaption&lt;/P&gt;&lt;P&gt;XLSheet.Range(Cell&amp;amp; "1").Font.Bold = True&lt;/P&gt;&lt;P&gt;'msgbox Cell &amp;amp; iCount&lt;/P&gt;&lt;P&gt;XLSheet.Paste XLSheet.Range(Cell&amp;amp; "2")&lt;/P&gt;&lt;P&gt;'XLSheet.Paste XLSheet.Cells(1,iCount)&lt;/P&gt;&lt;P&gt;iCount= XLSheet.UsedRange.Columns.Count + 1&lt;/P&gt;&lt;P&gt;iCount = iCount + 65&lt;/P&gt;&lt;P&gt;End if&lt;/P&gt;&lt;P&gt;'msgbox iCount&lt;/P&gt;&lt;P&gt;next&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;Try using this one , It is not properly formated , so you will need to add the formating.&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 13:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Easy-export-of-some-Excel-Files/m-p/151052#M28966</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2009-08-05T13:04:05Z</dc:date>
    </item>
    <item>
      <title>Easy export of some Excel-Files</title>
      <link>https://community.qlik.com/t5/QlikView/Easy-export-of-some-Excel-Files/m-p/151053#M28967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look this:&lt;/P&gt;&lt;P&gt;'*********************************************&lt;BR /&gt;' Constants for the Document.&lt;BR /&gt;'*********************************************&lt;BR /&gt;'&lt;BR /&gt;' For EXCEL&lt;BR /&gt;'&lt;BR /&gt;Const xlContinuous = 1&lt;BR /&gt;Const xlDiagonalDown = 5&lt;BR /&gt;Const xlDiagonalUp = 6&lt;BR /&gt;Const xlEdgeLeft = 7&lt;BR /&gt;Const xlEdgeTop = 8&lt;BR /&gt;Const xlEdgeBottom = 9&lt;BR /&gt;Const xlEdgeRight = 10&lt;BR /&gt;Const xlInsideVertical = 11&lt;BR /&gt;Const xlInsideHorizontal = 12&lt;BR /&gt;Const xlHairLine = 1&lt;BR /&gt;Const xlSolid = 1&lt;BR /&gt;Const xlThin = 2&lt;BR /&gt;Const xlAutomatic = -4105&lt;BR /&gt;Const xlCenter = -4108&lt;BR /&gt;Const xlNone = -4142&lt;BR /&gt;Const xlDown = -4121&lt;BR /&gt;Const xlMedium = -4138&lt;BR /&gt;Const xlRight = -4152&lt;BR /&gt;Const xTop = -4160&lt;BR /&gt;Const xlLastCell = 11&lt;/P&gt;&lt;P&gt;'*************************************************************************&lt;BR /&gt;'*&lt;BR /&gt;'*************************************************************************&lt;BR /&gt;Function IntestaFoglio(XLSheet, vDesChi, slett, iRigheInt)&lt;/P&gt;&lt;P&gt;XLSheet.Range("A1") = "Daniela "&lt;BR /&gt; XLSheet.Range("A1").Font.Bold = True&lt;BR /&gt; XLsheet.Range("A1").Font.Size = 11&lt;/P&gt;&lt;P&gt;XLSheet.Range("A2") = "F.V. Sig. "&lt;BR /&gt; XLSheet.Range("A2").Font.Bold = False&lt;BR /&gt; XLsheet.Range("A2").Font.Size = 10&lt;BR /&gt; XLsheet.Range("A2").HorizontalAlignment = xlRight&lt;BR /&gt; XLSheet.Range("B2") = vDesChi&lt;BR /&gt; XLSheet.Range("B2").Font.Bold = True&lt;BR /&gt; XLsheet.Range("B2").Font.Size = 10&lt;BR /&gt; XLsheet.Range("B2:E2").MergeCells = True&lt;/P&gt;&lt;P&gt;XLSheet.Range("Z"&amp;amp;iRigheInt) = " "&lt;BR /&gt; XLsheet.Range("A1:"&amp;amp;sLett&amp;amp;iRigheInt-1).Interior.ColorIndex = 2&lt;BR /&gt; XLsheet.Range("A1:"&amp;amp;sLett&amp;amp;iRigheInt-1).Borders(xlDiagonalDown).LineStyle = xlNone&lt;BR /&gt; XLsheet.Range("A1:"&amp;amp;sLett&amp;amp;iRigheInt-1).Borders(xlDiagonalUp).LineStyle = xlNone&lt;BR /&gt; XLsheet.Range("A1:"&amp;amp;sLett&amp;amp;iRigheInt-1).Borders(xlEdgeLeft).LineStyle = xlNone&lt;BR /&gt; XLsheet.Range("A1:"&amp;amp;sLett&amp;amp;iRigheInt-1).Borders(xlEdgeTop).LineStyle = xlNone&lt;BR /&gt; XLsheet.Range("A1:"&amp;amp;sLett&amp;amp;iRigheInt-1).Borders(xlEdgeBottom).LineStyle = xlNone&lt;BR /&gt; XLsheet.Range("A1:"&amp;amp;sLett&amp;amp;iRigheInt-1).Borders(xlEdgeRight).LineStyle = xlNone&lt;BR /&gt; XLsheet.Range("A1:"&amp;amp;sLett&amp;amp;iRigheInt-1).Borders(xlInsideVertical).LineStyle = xlNone&lt;BR /&gt; XLsheet.Range("A1:"&amp;amp;sLett&amp;amp;iRigheInt-1).Borders(xlInsideHorizontal).LineStyle = xlNone&lt;/P&gt;&lt;P&gt;XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Borders(xlInsideVertical).Weight = xlThin&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Borders(xlInsideVertical).ColorIndex = xlAutomatic&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Borders(xlEdgeLeft).LineStyle = xlContinuous&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Borders(xlEdgeLeft).Weight = xlMedium&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Borders(xlEdgeTop).LineStyle = xlContinuous&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Borders(xlEdgeTop).Weight = xlMedium&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Borders(xlEdgeBottom).LineStyle = xlContinuous&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Borders(xlEdgeBottom).Weight = xlMedium&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Borders(xlEdgeRight).LineStyle = xlContinuous&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Borders(xlEdgeRight).Weight = xlMedium&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Borders(xlInsideVertical).LineStyle = xlContinuous&lt;/P&gt;&lt;P&gt;XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).WrapText = True&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).HorizontalAlignment = xlCenter&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).VerticalAlignment = xlCenter&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; XLsheet.Range("A"&amp;amp;iRigheInt&amp;amp;":"&amp;amp;sLett&amp;amp;iRigheInt).Interior.ColorIndex = 40&lt;BR /&gt;end Function&lt;/P&gt;&lt;P&gt;Ok???????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 16:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Easy-export-of-some-Excel-Files/m-p/151053#M28967</guid>
      <dc:creator />
      <dc:date>2009-09-03T16:39:37Z</dc:date>
    </item>
  </channel>
</rss>

