I have the below macro to export three different objects from my QlikView document. However, on completion of this macro, the contents in all three different excel files are the same.
Filenames are being created as defined in the macro but the content of all is that of one of the three objects exported.
Any help or advise on why the macro is behaving in this manner and what can be done to resolve this is much appreciated.
sub ExportSalesOrder
'Get variable set vExportFilePath = ActiveDocument.GetVariable("vExternalExportPath") set vForDate = ActiveDocument.Variables("vProcessDate")