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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to protect(/hide) the macro script of the QVW file?

How to make anybody disable to see the macro script of the QVW file if he/she can get this file and open it?

2 Replies
disqr_rm
Partner - Specialist III
Partner - Specialist III

You can't hide it. You can surely password protect it under Document properties, but you can't hide it. Even with password protection, if somehow your macro hits an error, the script page will be opened automatically. So nothing much really.

If you really want to protect your code, you may look into compiling into a DLL an consuming it somehow in your VB Script. Good idea, but I haven't done it.

Rakesh

Anonymous
Not applicable
Author

Thank you Rakesh, that's just I want.

I can set b Module Password in Document properties,then nobody can see my macro.