A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Problem with slide Export



 
 
Thread Tools Display Modes
  #1  
Old October 28th, 2009, 09:29 AM posted to microsoft.public.powerpoint
SV[_3_]
external usenet poster
 
Posts: 10
Default Problem with slide Export

Shyam Pillai's site http://skp.mvps.org/ppt00036.htm shows how to
export a presentation as slides. This works really well as long as
the format is JPG. As soon as I change it to PPT I get a problem.

The file type .ppt is registered (double click on a ppt opens the
file).

Is there some other trick?

Steve
  #2  
Old October 29th, 2009, 08:51 AM posted to microsoft.public.powerpoint
SV[_3_]
external usenet poster
 
Posts: 10
Default Problem with slide Export

I really expressed myself badly - sorry!

If I use the code almost 'as-is' from Shyam's site then the code
doesn't run. I get a nice message from MS saying "PPT has encountered
a problem and needs to close ..."

Shyam's code reads ...
sFilename = (sSlideOutputFolder) & "Slide" & Format(oSld.SlideIndex,
"000") & ".ppt"
oSld.Export sFilename, "PPT"

My code reads ...
oExportedFileName = "C:\Home\Extract\" & oSlidetitle & "-" & Format
(CheckSum, "000") & "-" & sFilename
oSlide.Export oExportedFileName, "PPT"

(sFilename includes .ppt)

If I change the output file type to JPG it runs and produces a neat
set of JPG files one per slide. So I assume that is something to do
with the export to file type "PPT".

In the help file entry for the Export method it says that "The
specific graphics format must have an export filter registered in the
Windows registry". I assumed that if I double-click on a PPT file and
it opens that the file type is registered.

Perhaps this last assumption is wrong? Is there something else I have
to do to activeate an "export filter " (whatever that is).

Does this make more sense?

Steve
  #4  
Old October 29th, 2009, 12:16 PM posted to microsoft.public.powerpoint
SV[_3_]
external usenet poster
 
Posts: 10
Default Problem with slide Export

So how does Shyam make it work?

I have PPT2003 & XP if that makes a difference.

Steve
  #5  
Old October 30th, 2009, 11:51 AM posted to microsoft.public.powerpoint
SV[_3_]
external usenet poster
 
Posts: 10
Default Problem with slide Export

I have now tried a different solution of opening a new file and import
file X from the original file.

This is a bit clunky but works.

I will try the export function again when I get PPT07 later this year.

Thanks for your help

Steve
  #6  
Old November 22nd, 2009, 08:27 AM posted to microsoft.public.powerpoint
SV[_3_]
external usenet poster
 
Posts: 10
Default Problem with slide Export

Now for a little feedback...

Steve R, I didn't know how to set about coding your suggestion in the
last post so I simply carried on with the "opening a new file and
import
file X from the original file" solution ... but then reapplied the
template from the original file. This seems to work ok.

I also tried the slide export again now that I have PPT'07. Still no
luck!

This is all part of a project to look at presentation quality and fits
together with my question that I posted a question at ...

http://groups.google.com/group/micro...f3d9e8a9bc24c5

With some help from http://www.pptfaq.com/FAQ00751.htm I have extended
this to list the template, author but also the font used. At this
point I started to understand the impact of double-byte fonts. Sure
enough some presentations contained up to 15 fonts some of which were
asian and others just plain double-byte fonts.

When I run my 'list fonts' macro on the results of the 'split
presentation into single slide' macro I was expecting to be able to
identify which slide contains the rogue fonts.

To my surprise the rogue fonts appear to have all disappeared and all
that remains are the truly visible (WYSIWYG) fonts. I suspect that
some of the fonts in the original files were part of text items that
were later deleted but left some kind of reference to the font (and on
occasions embedded fonts) - an empty "container". This reference
appear to be viral and get passed around with the slide.

If I am right this could make an interesting alternative to the 'save
as HTML' method to deleting double-byte font referencess. It will not
of course delete the visible double-byte fonts which might be
genuinely needed.

So now I have a set of slides where I can see the size, the last
author plus a whole bunch of parameters that tell me who makes 'dirty'
slides. Amongst the slides is a rather spendid 17MB single slide!

***************

I have spotted a behavior amongst authors which is particularly
heavy. This is a cut-and-paste from MS PhotoEditor to a ppt slide.
This shows up in the PPT file properties under the 'contents' tab
as@ OLE.add-in PhotoEditor@ (or something like that - I don't have an
example to hand). Even NxPowerLite doesn't seem to tackle this.

Is there a technique like you show in http://www.pptfaq.com/FAQ00751.htm
that would flag-up this type of content. I am trying to find a way
of spotting a 'rogue' slide from a directory of presentations.

The idea is that if I can spot authors who have bad ppt habits then
perhaps I can persuade them to change their ways.

Thanks

Steve



..

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.