1 Reply Latest reply: Jul 5, 2017 9:02 AM by Marcus Sommer RSS

    Running macro function in the loading script

    Daniel Radoikov


      I have got the following problem: I want to export tables from the loading script and I am using macro function in the module:


      function Export()

      set qv = CreateObject("QlikTech.QlikView")

      set doc = qv.OpenDoc("C:\Users\username\Desktop\ARP.qvw")

      set chart = doc.GetSheetObject("CH09")

          chart.Export "D:\Data.txt", ", "



      end function


      I cannot call it from the loading script.

      Any advice is welcome.