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

Macro to toggle between object types within a given object

I would like to create a Macro button to toggle between the object types Pivot Table and Line Chart within a single object. I would like to use this approach instead of use the fast access button in the object captions. Has anyone written a macro like this before? Thanks.

2 Replies
boorgura
Specialist
Specialist

You can use a macro to access the properties of the sheet objects like this:

ActiveDocument.getsheetObject("CHxxx").GetProperties

boorgura
Specialist
Specialist

Or the simplest way would be to have 2 charts - and hide/unhide them using a button action.