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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
rathnam_qv
Creator
Creator

export all objects to ppt


Hi All,

i have a macro to export only charts to ppt.But, i want to export all objects(charts, tables, listboxes....etc) to ppt.

Can anyone help me out ..Its Urgent.

Regards,

Rathnam.

24 Replies
Anonymous
Not applicable

ActiveDocument.Sheets("Main").ExportBitmapToFile "C:\MyImage.bmp"

rathnam_qv
Creator
Creator
Author

Hi Konstantins,

thanks for your reply.

can you please send me the macro.

Regards,

Rathnam.

Anonymous
Not applicable

Sub Export

  ActiveDocument.Sheets("SH01").ExportBitmapToFile "C:\temp\SH01.png"

End Sub

Anonymous
Not applicable

Or directly to PPT file

rathnam_qv
Creator
Creator
Author

to export to all objects to ppt wat i need to change

rathnam_qv
Creator
Creator
Author

Hi Guys,

can any send me the vb script for this.

Regards,

Rathnam.

Anonymous
Not applicable

Sub Export

  ActiveDocument.Sheets("SH01").ExportBitmapToFile "C:\temp\SH01.png"

End Sub

sub ExportToPPT

Set objPPT = CreateObject("PowerPoint.Application")

objPPT.Visible = True

Set objPresentation = objPPT.Presentations.Add

Set PPSlide = objPresentation.Slides.Add(1,11)

ActiveDocument.ActiveSheet.CopyBitmapToClipboard

PPSlide.Shapes.Paste

Set PPSlide = Nothing

Set PPPres = Nothing

Set PPApp = Nothing

end Sub

rathnam_qv
Creator
Creator
Author

Hi konstantins,

Thanks for your reply.

i want to export each object separately not entire sheet as single object.

Regards,

Rathnam.