Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
maxime66
Creator
Creator

Triggers on SheetActivation

Hi Qlikers

i've created a list of my Sheets Name and i check changes on the filed "onglet" to activate the selected sheet.

(Properties Of document / Triggers / Triggers for events on a field)

This part works well.

I also set a trigger on "RDV" sheet to select specific salesman.

When sheet "RDV" is selected i want "salesman" = "jon" (that works manually but not with the sheet list method below)

any ideas to fix this?

thx by advance.

10 Replies
maxime66
Creator
Creator
Author

Hi,

i find another way (without modifying my sheet triggers)

Document Properties / Triggers / Field event triggers /  field <onglet> / OnSelect / Execute macro : theFieldValues)


Sub theFieldValues

ActiveDocument.Sheets(ActiveDocument.Fields("id_onglet").GetPossibleValues.Item(i).Text).Activate

end sub

Works fine ! (as long as Qlik keeps Vba module in their plan )

Regards

Max.