Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Qlikview Desktop - "Edit Module" is always appearing

I have the following code and I think that works fine... However everytime that I open the Qlikview application the "Edit Module"  windows appears spoiling the dashboard presentation (I've a loading page which appears for a few seconds)

SUB Reload

ActiveDocument.ReloadEx 0, 1

ActiveDocument.Sheets("SH1").Activate

END SUB

SUB Run_VBS

Set WshShell = CreateObject("WScript.Shell")

'WshShell.Run """" & chr(34) &

ActiveDocument.WshShell.Run chr(34) & "path\Scheduling.bat" & Chr(34), 0

Set WshShell = Nothing

END SUB

Sub RunThisOneInstead

    Reload()

    Run_VBS()

End Sub

Does anyone know how to fix this issue?


Thanks!

Labels (1)
2 Replies
m_woolf
Master II
Master II

If you comment out this code, does the edit module still appear when you open the app?

If not, the code likely is the culprit.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

It sounds like maybe you are running this macro as a document OnOpen trigger?

-Rob