Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Have not tested this and coding from memory but should work:
For each item in myArray
if ActiveDocument.GetSheetObject(item).IsActive then
Set PPSlide = objPresentation.Slides.Add(1,11)
ActiveDocument.GetSheetObject(item).CopyBitmapToClipboard
PPSlide.Shapes.Paste
Next
You might also want to look into the pastespecial method for powerpoint instead if you get a degrade in image quality.
Try this:
If ActiveDocument.GetSheetObject(item).IsActive then
ActiveDocument.GetSheetObject(item).CopyBitmapToClipboard
End If
Both of the logics above are not working
Hi
You can see this link thread , hope this will give you some idea about copying image to ppt.
http://community.qlik.com/message/194216#194216
Regards
Ashok
Hi
You just make the in active table/widget into active before you exporting.
I believe you are using the toggle button to active or inactive some exporting widgets.
Then before you export the widget you just change that inactive widget to active using the toggle button variable
value.
First set the inactive toggle button variable to show active and export the widget then de active the widget.
below code macro use to get the variable value and set the variable
Set objChart = ActiveDocument.Variables("togglevariablename")
objChart.SetContent variablevalue, true ---> set value of toggle button to active the field
once the export image completed the reset the variable.
Regards
Ashok