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

Selecting multiple values in list box using macro

hi guys

i want to select 2 values in a list box using macro

suppose i have a field month in a list box , now on the click of the button i want to select jan and mar using macro

can anyone please help me in writting the macro for this....

3 Replies
Gysbert_Wassenaar

This is easier done with a bookmark that contains your selections and a trigger action for your button that activates the bookmark


talk is cheap, supply exceeds demand
Not applicable
Author

thanks for the reply but i can not do it with something like

ActiveDocument.Fields("Month").Select("")...................

Anonymous
Not applicable
Author

We can use like

ActiveDocument.Fields("Month").Select("(*Jan*|*Mar*)")

By using this in macro we can select more than one field in a listbox

Thanks,

Leni Balakrishnan