Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Macro to select values in listbox

Hello,

i'm trying to select the values in a list box but i only get this message:

    

     Type mismatch: 'ActiveDocument.Fields(...).Select'

My small macro only contains this code:

     ActiveDocument.Fields("UNIT").Select ActiveDocument.Fields("UNIT").GetSelectedValues

Can someone help me, please?

Kind regards

Piskitta

10 Replies
Not applicable
Author

Hi,

Can I put the ActiveDocument.Fields("UNIT").Select "UNIT_VALUE" right into my script editor? How to use this script.