Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

[ASK] how to make an activate multi box

hello...

i wanna ask a question

i have a multibox with a field called "Area"

can i make this multibox to activate sheet?

example, when i click Area n choose Tokyo, then Tokyo Sheet will automatically activated and also i go to Tokyo Sheet automatically

how to do that?

please help..

many regards

thx...

10 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

hi richardo,

When you press CTr +M then you will see the macro code. This code is been triggen onSelect Event of The Field Area. ( DOcument Properties-->Trigger--> FieldEvent trigger.

how the code works...

set doc = ActiveDocument // initializing the variable

set mySelections = doc.fields("Area").GetSelectedValues // Get the Values of the selected field

if mySelections.count =1 then // check if there is only one selection

ActiveDocument.Sheets(mySelections.item(0).text).Activate // Activate the sheet.. here name of the sheet and the value of the field should be same.

end if

I hope this helps.