Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Convert PPT in HTML with VBScript

104 views
Skip to first unread message

Rodrigo Minati

unread,
Apr 22, 2003, 11:06:42 AM4/22/03
to

Hi All,

I'm using this code to an ASP Page convert PowerPoint File in HTML File.
But I'd like some features in Web Options that it is not default on Save as
HTML command.
For example "Show slide animation while browsing".

Any Idea?????

Thanks in Advance


The ASP Page to convert PPT in HTML:

set oPPT = Server.CreateObject("PowerPoint.Application")
set oPPTDoc=oPPT.Presentations.Open(ppt_file,,,False)
With oPPTDoc
.SaveCopyAs html_file, 12
End With


Nicholas Pappas

unread,
Apr 22, 2003, 11:55:44 AM4/22/03
to
I'm not sure if this will help you, but this is how I convert a
PPT->HTML from a VBA Add-in:

With Application.ActivePresentation
With .PublishObjects(1)
.fileName = strFileName & ".html"
.SourceType = ppPublishAll
.SpeakerNotes = True
.Publish
End With
End With

This will create a HTML and a folder (e.g.: MyPPT.html and MyPPT_files).
I am not sure how much animation support is there, but I did test it
with a growing/shrinking image and it did work. That one PPT slide
actually produced 3 HTML slides (if I remember correctly).
As mentioned, this is using VBA -- inside of PowerPoint. I'm not sure
how much, if any, of this functionality is available via VBScript
through the web.

Nick

0 new messages