Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Problem to Script execute the macro - macro to export sheets as image

hi everyone, I'm having an issue with Qlikview where my project have some sheets and I need that in the execution of my script, it execute the macro of my project where my macro will export an image of each one fom my sheets.

on my macro I have de code and te macro execute when I go Through the sheets.

the export function is working but is doesn't run when I execute the script.

can anyone help me??

2 Replies
sasiparupudi1
Master III
Master III

You have to call the activate method of the sheet

ex:

ActiveDocument.Sheets("Market").Activate

set newsheet=ActiveDocument.CreateSheet

set sp=newsheet.GetProperties

sp.Name="abc"

newsheet.setProperties sp

newsheet.Activate

Anonymous
Not applicable
Author

Sorry for the late post, but I figured out a while ago.

The case the macro didn't execute properly was becuse I was using the type of view where I could see all the sheets.

When I unselected the option Show all sheets and objects in Security on Document's properties it all went fine.