Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

problem with macro/trigger/selection


I have a button (myButton) with a action (select in field). It works fine.

I need to press this button at any selection in auto.

I created a new trigger in the "document event trigger" of type "OnAnySelection" that launches this macro:

Set myButton = ActiveDocument.GetSheetObject("myButton")


Now, when I make any selection, i have to make the selection TWICE!!

the first selection the sheet does not update! why?

help me please 😄

3 Replies
Partner - Champion III
Partner - Champion III

Could you sent your document or a small version reproducing the error?

Creator II
Creator II

Not sure if attached is exactly what you are looking for, but it triggers macro on any selection in field "Auto".



I tried to make selections in your application and immediatly Auto is selected to Honda (I didn't need to clik twice).

I also tried to set your trigger in the "document event trigger" of type "OnAnySelection" (as you said in your first post) and it works.

I use QV 11 SR1...

Anyway, I read that macros are not always "safe"... it can be that sometimes they don't work properly.