Hello everyone,

I'm trying to create a macro in Qlikview (reporting tool) to export graphs into powerpoint.

Here is the peace of code I use to open a powerpoint document and select the slide where I want to paste an image :

Code:
sub ppt1
 
Set PPApp = CreateObject("Powerpoint.Application")
PPApp.Visible = True ' Create a presentation
 
'Open the ppt document
Set PPPres = PPApp.Presentations.Open("D:\Qlikview_Data\presentation_test.pptx")
 
'Select the slide 
Set PPSlide = PPPres.Slides(1)
And here the piece of code I use to paste the image :

Code:
ActiveDocument.GetSheetObject(charts(i).getobjectid).CopyBitmapToClipboard
PPSlide.Shapes.Paste
And the image is pasted in the middle of the slide. I would like to choose where in the slide I paste the image. How can I indicate the top and left corner in the code ?

Thanks for your help.