Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Macro wont activate on app opening

hi guys

i have a macro that change the selection color but it only active when i run it from ctrl+m

Screenshot_14.png

but i need to run it each time the app is opened

so i made a trigger that would run it "onopen"

Screenshot_15.png

but it doesn't seem to work like in the picture i tried to call it using name+() or just name

but it doesn't seem to work

any help would be appreciated

12 Replies
Not applicable
Author

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Where do you open your "app"? In QV Desktop or in an AccessPoint client?

Not applicable
Author

i tried on both

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Macros that try to manipulate the UI won't work in the Ajax Client.

tamilarasu
Champion
Champion

Hi Ahmed,

Could you remove the round brackets in the trigger and try?

Capture.PNG

Not applicable
Author

already tried also and nothing happens

tamilarasu
Champion
Champion

Below attached file is working fine in my QlikView version 12.

Not applicable
Author

Thanks Tamil i put your Msgbox code inside my Sub and it actually runs but that it the rest of the code doesn't work
maybe it's just as @Peter  said above "Macros that try to manipulate the UI won't work in the Ajax Client."


Screenshot_18.png

Not applicable
Author

so is there away to work around it