4 Replies Latest reply: Sep 11, 2014 3:10 PM by Enrique Colomer RSS

    Export 2 objects in 1 cvs file with header

    Leandro Abad

      Hi,

       

      To solve my problem I use this code:

       

      function GenerateCSV

       

                Set t1 = ActiveDocument.GetSheetObject("TB01")

                t1.Export "tables.csv", ";"

       

                Set t2 = ActiveDocument.GetSheetObject("TB02")

                t2.Export "tables.csv", ";",, TRUE

        

      end function

       

      This work fine but the second header is not in the file and I have to have the 2 header in the file.

       

      I am new in Qlikview and I don't know where can I found information about VBScripting for QV.

       

      Thanks!