Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

VBS export CSV

Hi,

After upgrading to QV10 my export only works if im logged in the server. If i logg out from the server it wont work. Has anyone seen this? Se below code.


set Qv = CreateObject("QlikTech.QlikView")
Set ActiveDocument = Qv.OpenDoc ("D:\QlikView\Sales.qvw","","")
activedocument.clearall
call exportReport
Qv.quit

'========================= functions for printing csv ============================

sub exportReport

tempFolder = "D:\tmp"
Set cs = ActiveDocument.GetSheetObject("CH02")
reportFile = tempFolder & "WeeklySales.csv"
' Print report to xls
cs.ExportEx reportFile,1
end sub


0 Replies