Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
The below macro will export the object and save it in the defined location with the file name "abc"
Sub ExportExcel
set obj = ActiveDocument.GetSheetObject("CH646")
obj.ExportEx "C:\Documents and Settings\renjithpl\Desktop\QlikviewExport\abc.xls",5
End sub
My requirement is, i need to save the file name with variable input in my application
something like
obj.ExportEx "C:\Documents and Settings\renjithpl\Desktop\QlikviewExport\"$(vInput)".xls",5
Any help ??
Regards
Ranjit
Hi Miguel,
this is what i was expecting. thanks a lot.
vFile = ActiveDocument.Variables("vDate2").GetContent.String
XLDoc.SaveAs "c:\Qlikview\Claro"& vFile &".xls"