How do i change the resolution of a picture to 96 dpi, i.e. web/s.

G

Guest

I would like to change the resolution of a picture in power point. This can
be achieved in Power point by: selecting the
picture>format>picture>compress>web/screen
Short key is ALT+O+I+M+W
I am automating this change in resolution using VBA. I would like to know
what statements i should use in VBA?
TIA.
 
T

TAJ Simmons

TIA

Have you tried to record a "macro" to to what you do

picture>format>picture>compress>web/screen

Then save the macro ready for playback

That would be a good start to see what command to use.

Cheers
TAJ Simmons
microsoft powerpoint mvp

awesome - powerpoint backgrounds,
free powerpoint templates, tutorials, hints and tips etc
http://www.powerpointbackgrounds.com
 
S

Steve Rindsberg

Have you tried to record a "macro" to to what you do
picture>format>picture>compress>web/screen
Then save the macro ready for playback

That would be a good start to see what command to use.

The macro recorder doesn't pick up anything useful in this case.

But in any case, as far as I know, PPT's image compression isn't exposed
through VBA, so other than using SendKeys to spit keystrokes at it, you can't
automate it.
 

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