PPT VBA: Save original picture as...

M

Martin Danielsson

Hello,

In PowerPoint 2003, there is a possibility to save a picture in the original
format, without having PowerPoint scaling it. This function can be accessed
(using the mouse) in the context menu of a picture, "Save graphics file..."
and the select "Save original file" (or similar, I'm translating from
german). How can I access this function/method from VBA? What I have seen,
the Shape.Export method does not support this. Or does it?

Best Regards,
Martin
 
S

Steve Rindsberg

Hello,

In PowerPoint 2003, there is a possibility to save a picture in the original
format, without having PowerPoint scaling it. This function can be accessed
(using the mouse) in the context menu of a picture, "Save graphics file..."
and the select "Save original file" (or similar, I'm translating from
german). How can I access this function/method from VBA? What I have seen,
the Shape.Export method does not support this. Or does it?

Experiment with the Presentation.SaveAs method with the picture selected.
 
M

Martin Danielsson

(using the mouse) in the context menu of a picture, "Save graphics
Experiment with the Presentation.SaveAs method with the picture selected.

Tried that. I also recognized that that method is created if you record a
macro while saving the picture in its original format. Couldn't get that to
work... I've found a workaround - rather lengthy: copy to clipboard and then
use a DLL to get the DIB data (which are in the original resolution) by
C/C++ code...

But thanks for answering.

Regards,
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top