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