Hi,
I try to do the following one, using VBA:
1. Insert object (select Bitmap Image) into Powerpoint slide
2. Copy range in Excel workbook.
3. Paste this range INTO the bitmap image object in PowerPoint.
So far, I was able to add an empty image to a slide and activate it to prepare for accepting the paste:
However, I could find only this way of pasting:
It pastes the range onto slide surface, when I need it in the bitmap object. I can do it manually, but cannot reproduce programmatically.
Can anybody help me with this?
Thank you!
Vlad
I try to do the following one, using VBA:
1. Insert object (select Bitmap Image) into Powerpoint slide
2. Copy range in Excel workbook.
3. Paste this range INTO the bitmap image object in PowerPoint.
So far, I was able to add an empty image to a slide and activate it to prepare for accepting the paste:
Code:
Set objSlide = gobjPresentation.Slides(1)
objSlide.Shapes.AddOLEObject(Left:=120, Top:=110, Width:=480, Height:=320, ClassName:="Paint.Picture", Link:=msoFalse).OLEFormat.Activate
However, I could find only this way of pasting:
Code:
objSlide.Shapes.Paste
It pastes the range onto slide surface, when I need it in the bitmap object. I can do it manually, but cannot reproduce programmatically.
Can anybody help me with this?
Thank you!
Vlad