Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Leverage your QlikView investment to modernize BI – see how! Join Group
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Macro to run exe


I am trying to run an executable from a QlikView macro but the macro stops at the run line with no error message. My Requested Module Security is set to System Access and the Current Local Security is set to Allow System Access.

Here is my code

Set shell = CreateObject("WScript.Shell")
shell.Run "C:\Program.exe"

Why does the macro just stop?


1 Reply
Not applicable

Macro to run exe

I found my error.

the program I was trying to run was in a folder with spaces so more like

shell.run "C:\a folder\program.exe"

so I needed to add quotes around the file path.


shell.run chr(34) & "C:\a folder\program.exe" & chr(34)