I have got the following problem: I want to export tables from the loading script and I am using macro function in the module:
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", ", "
I cannot call it from the loading script.
Any advice is welcome.
It's not possible on this way. You will need to do it from outside of a load, see also: Macro running through load script or you could use a store-statement to an existing table to get the txt-file.