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

Minichart not exporting

Hello All,

I'm running into a bit of an issue, where I have a table of data that contains a minichart. I'm using the a macro with the ".CopyBitmapToClipboard" method to export various charts and tables to a power-point presentation dynamically. However, when I export via the macro the minicharts are blank. I've tried adding in delays and "wait for idles" at various points in the macro's loop but they don't seem to help. If I "Right-click -> Copy to Clipboard -> Image" and manually paste the minichart is populated.

Here is the relevant code:

ActiveDocument.GetSheetObject("TXT_TITLE").CopyBitmapToClipboard  

PPSlide.Shapes.Paste  

PPSlide.Shapes(PPSlide.Shapes.Count).LockAspectRatio=msoTrue

PPSlide.Shapes(PPSlide.Shapes.Count).Top = 40

PPSlide.Shapes(PPSlide.Shapes.Count).Left = 30

1 Reply
Anonymous
Not applicable
Author

Ok so small update. It seems if I manually filter to each value i'm looping through the graph does export. But that kind of defeats the purpose of the 1 click export. This feels like some kind of weird bug with minicharts or something.