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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Gatter
Contributor
Contributor

Qlikview Macro

I sure could use some help with a QlikView macro problem I have.  The macro in the "Edit Module" section of QlikView and the macro is written based off of "VBScript".

Within my macro I have lines like below:

ActiveDocument.Fields("SMRY_SUPERVISOR_NAME_MHKO").Select "SUPERVISOR NAME_1"

ActiveDocument.Fields("SMRY_SUPERVISOR_NAME_MHKO").ToggleSelect "SUPERVISOR NAME_2"

The above works perfect and I am getting what I need for both of these supervisors selected.

 

My Problem:

What I need is say that I want all supervisors from this field EXCEPT for a few selected supervisors.

Thanks,

Jeff

Labels (1)
1 Reply
QFabian
MVP
MVP

Hi @Gatter ,  If in the GUI there are some values selected, you just have to use this :


ActiveDocument.Fields("SMRY_SUPERVISOR_NAME_MHKO").SelectExcluded

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.