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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem with macros

Hello!! I have this macro that does not work. I dont know why.

sub filtroFN
ActiveDocument.Fields("[Unidad de Medida]").Select "FN"
end sub

Thank you.

5 Replies
m_woolf
Master II
Master II

Here's a guess. With the " the [] are not necessary. They are not part of the field name.

Not applicable
Author

Yes, I had tried without [], but its the same. It dont work.

m_woolf
Master II
Master II

Can you attach a sample qvw?

GabrielAraya
Employee
Employee

Hi .. Where are you testing the macro ??? If you test in Desktop version or Plugin client .. the macro should run ok .. but if you use the AJAX client .. it doesn't run.

phaneendra_kunc
Partner - Specialist III
Partner - Specialist III

Personally i think better to use "Trigger" to select on a field instead of Macro..

Is this your whole macro or it is some part of your macro?