0 Replies Latest reply: Dec 23, 2015 12:11 PM by Ant�nio Vilares RSS

    Qlikview 11.2 - Opening Page Lead me to "Edit Module"

    Ant�nio Vilares

      I've two macros in my QVW to run the script when the application is open:

              

       

      SUB Reload

      ActiveDocument.ReloadEx 0, 1

      ActiveDocument.Sheets("TESTE").Activate

      END SUB

       

       

      SUB vbs_script

      Set WshShell = CreateObject("WScript.Shell")

      WshShell.Run """" & chr(34) & "...\TESTE.bat" & Chr(34), 0

      Set WshShell = Nothing

      END SUB

       

      And I've conditional expressions in my tabs

      • =(vTime + (5/(24*60*60)))>= Num(Now())

       

      When the first sheet is opening my Qlikview lead me to the "Edit Module" page. I think that the function "ActiveDocument" and the Conditional Expression of Sheets are getting confuse. -

       

      Do you know what's happening?

       

      Thanks!