4 Replies Latest reply: Oct 20, 2015 1:52 PM by Nandkishor Pandirkar RSS

    Running a VB macro from the Load script


      I have a VB macro built in the Qlik Module editor.  I have an action button created in my application and will execute the macro just fine.  The macro takes graphs and charts from my qliikview object and creates an excel workbook from them.  I would like for the macro to automaticly execute and run at the end of my load script so I do not have to press the action button to run the macro.  I have tried several different methods, but nothing seems to work.  Can anyone provide step by step instructions to execute a macro from the load script?  New to qlikview.

       

      Macro

       

      sub exportToExcel_Variant2

      ...

      end sub