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
 
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
 
Back
Top