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

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

Cannot print container from macro

Hi,

I'm trying to print a container containing specifically formatted text objects from a macro for a variable amount of times.

This is the macro:

For i = 1 To ActiveDocument.Variables("vNumPrints").GetContent.String

     ActiveDocument.GetSheetObject("CT01").PrintEx ActiveDocument.Variables("vPrinterName").GetContent.String, false

Next

I have no problem printing a text object alone, but for some reason Qlikview will not print containers from the macro.

Does anyone know an alternative / solution?

Thanks in advance

1 Reply
marcus_sommer

I'm not sure if it's possible maybe you need to activate the container-objects or use another print-method - see here Re: How to activate object in a container on active sheet and have a look into APIGuide.qvw in your install-folder.

Alternatively you could use reports to print your container and/or (unfortunately very often) you need specialized print-sheets and print-objects.

- Marcus