PublishObject.SlideShowName property (PowerPoint)
Returns or sets the name of the custom slide show to be published as a Web presentation. Read/write.
Syntax
expression. SlideShowName
expression A variable that represents a PublishObject object.
Return value
String
Example
The following example saves the current presentation as an HTML version 4.0 file with the name "mallard.htm." It then displays a message indicating that the current named presentation is being saved in both PowerPoint and HTML formats.
With Pres.PublishObjects(1)
PresName = .SlideShowName
.SourceType = ppPublishAll
.FileName = "C:\HTMLPres\mallard.htm"
.HTMLVersion = ppHTMLVersion4
MsgBox ("Saving presentation " & "'" _
& PresName & "'" & " in PowerPoint" _
& Chr(10) & Chr(13) _
& " format and HTML version 4.0 format")
.Publish
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for