Saving a Powerpoint file as a JPeg

  • Thread starter Thread starter Rob Small
  • Start date Start date
R

Rob Small

Hi people,

I'm trying to save a Powerpoint file as a JPeg using VBA. I've read about
using the file format ppSaveAsJPG. However, this does not appear to be
available in Office 97, despite Powerpoint allowing you to save as JPeg from
the front-end (is it not available till Office 2000 or something).

Anyway, that being the case, is there any way I can save a slide as a JPeg
in Office 97?

Kind regards,

Rob Small
 
Rob Small said:
Hi people,

I'm trying to save a Powerpoint file as a JPeg using VBA. I've read about
using the file format ppSaveAsJPG. However, this does not appear to be
available in Office 97, despite Powerpoint allowing you to save as JPeg from
the front-end (is it not available till Office 2000 or something).

Anyway, that being the case, is there any way I can save a slide as a JPeg
in Office 97?

Kind regards,

Rob Small

I am not sure of this working with 97 since i do not have 97 on my system,
but this works with 2000, You can try this

m_PPTSlide.Export("newfilename.jpg","jpg",m_PPTPresentation.PageSetup.SlideW
idth,m_PPTPresentation.PageSetup.SlideWidth );

Abhishek
 
Rob,
Check if the export filter for JPG was installed. In 97 PowerPoint used
external graphic librabries for export to other formats.

Regards,
Shyam Pillai

http://skp.mvps.org/
 
Cheers Abhishek,

That's done the trick.

Abhishek said:
I am not sure of this working with 97 since i do not have 97 on my system,
but this works with 2000, You can try this

m_PPTSlide.Export("newfilename.jpg","jpg",m_PPTPresentation.PageSetup.SlideW
idth,m_PPTPresentation.PageSetup.SlideWidth );

Abhishek
 
Cheers for the response Shyam Pillai. However, Abhishek's post solved the
problem.
 

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

Back
Top