1 Reply Latest reply: Mar 9, 2011 1:06 PM by Luis Laura RSS

    Error opening qvw from vbs

      Dear all,

       

      I have an error opening files from a External VBS.

       

      Every try give the same error on line 4

       

      Object Required ActiveDocument

      Here you have Execute.vbs source

      Set MyApp = CreateObject("QlikTech.QlikView")
      Set MyDoc = MyApp.OpenDoc ("D:\AUTOMATE.qvw")
      Set ActiveDocument = MyDoc
      ActiveDocument.GetApplication.WaitForIdle
      ActiveDocument.Reload
      ActiveDocument.Save

       

      Best regards