Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear All,
I have one format in one application.That format data should get share to business user in Exel File on dailly basis.
However, nowdays i am doing this manually as i do not want it to do manually .i want the data of particular format share with business user automatically.
What i can do so that the data automatically extracted from format and share with business user..Is there any way to achive the same.
Regards
Sarfaraz
Use this macro to export to Excel:
SUB EXPORT_Percentage
set sObject1 = ActiveDocument.GetSheetObject("CH_EXPORT")
set v = ActiveDocument.GetVariable("vOggi")
sObject1.ExportBiff "E:\qlik\Accounting\Daily Sales\Excel\" & v.GetContent.String & "_Daily_Summary_Export.xls"
end sub
and use this script into a batch file scheduled in Windows.
taskkill /f /im "Qv.exe"
"C:\Program Files\QlikView\Qv.exe" /r "E:\QlikSource\Sales\Daily_Export.qvw" >> E:\ScheduledTask\Daily_Export.log
The Macro must be triggered on the "OnPostReload" event of the documet
Dear Alessandro,
I am very much new regarding the macro concept...It will be good for me if you post the file with example.
Sarfaraz