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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

VBscript error: Object required: 'WScript'

Hi,

I have a macro that exports an object to a CSV file.

I would like to display a message when the export starts and one when it is done. The first message should not require the user to click ok. So msgbox is not an option.

From the net I plucked this:
Dim WshShell, BtnCode
Set WshShell = WScript.CreateObject("WScript.Shell")

BtnCode = WshShell.Popup("Export started", 10)

The macro doesn't work:

Object required: 'WScript'



Note: security is set to System Access and Allow System Access.

QV 8.5

Any suggestions?

Thanks

Anton

10 Replies
petter
Partner - Champion III
Partner - Champion III

By doing this it will also work with timeout:

2017-02-16 04_04_31-Edit Module.png