Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Slide.PublishSlides Method (PowerPoint)

Publishes the specified slide to the specified location.

expression .PublishSlides(SlideLibraryUrl, Overwrite, UseSlideOrder)

expression An expression that returns a Slide object.

Parameters

Name

Required/Optional

Data Type

Description

SlideLibraryUrl

Required

String

The URL to which to publish the slide library.

Overwrite

Optional

Boolean

Whether to overwrite existing content at SlideLibraryURL. The default is False.

UseSlideOrder

Optional

Boolean

Whether to use the existing slide order. The default is False.

Return Value

Nothing

The following example shows how to publish slide one in the active presentation to a specific URL. Before running this code, substitute a valid URL for myURL.

Public Sub PublishSlides_Example()



    Dim pptSlide As Slide

        

    Set pptSlide = ActivePresentation.Slides(1)

    pptSlide.PublishSlides ("http://myURL")



End Sub

Concepts

Other resources

Show:
© 2015 Microsoft