SaveAs and Slide Number

T

tomcat

When I use the "Save as Web Page" in the file menu, I can specify which
slide i want to save by selecting the "Slide Number". but when I use
VBA to save a slide as a web page, I can not specify which slide I want
to save. Any one have any idea how can I save a single slide in a
presentation as web page by using VBA?

thanks

Tomcat
 
D

David M. Marcovitz

Actually, when you save as a Web page, the only way to specify the slides
is to choose to "Publish." Thus, I believe you want the Publish method in
VBA. Just type Publish into the VBA help, and you will see information
about how to use this.
--David

--
David M. Marcovitz
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
S

Shyam Pillai

Tomcat,
An example of saving just the 5th slide.

With ActivePresentation.PublishObjects(1)
.FileName = "C:\Web Pages\webpage5.htm" 'just an example
.SourceType = ppPublishSlideRange
.RangeStart = 5
.RangeEnd = 5
.Publish
End With
 

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

Top