Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
vchuprina
Specialist
Specialist

Issue with Macro

Hi,

I've added Macro in my document, I tested it and it works correctly.

But when I open document qlikview automatically open "edit module" window.

Also when I click on button that run macro I open "edit module".

Please advise what is the reason of this problem.

Thanks

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").
9 Replies
Gysbert_Wassenaar

Perhaps you need to change the security settings in the module so that it's allowed to run the macro.


talk is cheap, supply exceeds demand
m_woolf
Master II
Master II

How did you test your macro if QlikView won't run it?

vchuprina
Specialist
Specialist
Author

Hi Gysbert,

I succesfully use the same macro in another application. My settings is Safe Mode and Only Safe Mode

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").
vchuprina
Specialist
Specialist
Author

I tested it in Edit Module. Each time when I click on button, qlikview opens Edit Module

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").
Gysbert_Wassenaar

Another Qlikview document? Or another kind of application altogether?


talk is cheap, supply exceeds demand
vchuprina
Specialist
Specialist
Author

Another kind of application

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").
Gysbert_Wassenaar

And is it a vbscript macro or a VBA macro?


talk is cheap, supply exceeds demand
vchuprina
Specialist
Specialist
Author

It is VBScript

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").
m_woolf
Master II
Master II

Can you show your macro code?