Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
chiso_chiso
Creator
Creator

Macro not running in my model

Colleagues,

I have a macro that is running in a model that I tested it but its not running in the Model that I am building.

I am trying to export Charts into Powerpoint (which is working in the test model) but in my model it just opens the Edit Module. My Model has charts and others are in containers.

Kindly help.

1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Make sure allow system access is selected.

Regards

ASHFAQ

View solution in original post

12 Replies
tresesco
MVP
MVP

Could be because of various reasons.

  • May be the objects IDs are not matching
  • May be security settings are not properly set
  • May be ...

Better, consider sharing a sample qvw that replicates the issue.    

chiso_chiso
Creator
Creator
Author

Tresesco,

My Model is too big now (300MB).. Would screenshots do? Kindly advise which ones I should send.

ashfaq_haseeb
Champion III
Champion III

Hi,

make sure allow system access is selected in macro module.

Regards

ASHFAQ

chiso_chiso
Creator
Creator
Author

Find the qvw attached.

chiso_chiso
Creator
Creator
Author

I have tried all the options under Module Security Ashfaq... still no success.

ashfaq_haseeb
Champion III
Champion III

Hi,

Check if this helps

exportTable2PPT.qvw

Regards

ASHFAQ

chiso_chiso
Creator
Creator
Author

Still goes to Edit Module

tresesco
MVP
MVP

set v = activedocument.Getvariable("vShowAll")

Demands a variable 'vShowAll' which is not there in your app.