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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Repeating slides for sheets export to PPT

Hi,

I am exporting the two sheet objects to PPT.

i am getting the result but still i am getting the repated slides in the PPT.

I am attaching the app go through it and in the app's ppt the 3 ,4 slides are correct and 1,2 should not come in PPT.

can some one guide me to overcome these excess slides

1 Solution

Accepted Solutions
tresB
Champion III
Champion III

If you want entire sheet to be exported, try:

ActiveDocument.ActiveSheet.CopyBitmapToClipboard

PFA

View solution in original post

7 Replies
tresB
Champion III
Champion III

Decrease the loop count:

set PPPres = objPPT.Presentations.Add

        for j = 0 to ActiveDocument.NoOfSheets - 2      // -2 instead of -1

Not applicable
Author

Thanks tresesco for respondng me

unfortunately its not yeilding the result

can you check once from your end

tresB
Champion III
Champion III

PFA and let know if this is what you want.

Not applicable
Author

Thanks

that is corect but

if we  add more objects into the slide2 or one more sheet in our macro it is not working.

I am waiting for your response

tresB
Champion III
Champion III

That won't work, because in the code, object ids are hard coded. You have to add the new objects separately or try a different method of exporting the entire sheet.

Not applicable
Author

I have come across lot many approaches for exporting the sheet objects from different sheets

can you suggest me if any

tresB
Champion III
Champion III

If you want entire sheet to be exported, try:

ActiveDocument.ActiveSheet.CopyBitmapToClipboard

PFA