How to set titlebar with VBA creating a Web Page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The following code in Powerpoint 2000 creates a Web Page from a specified slide without the outline pane but also without a title in the browser titlebar

strPath = ActivePresentation.Path & "\

With ActivePresentation.PublishObjects(1
.FileName = strPath & "webpage5.htm" 'just an exampl
.SourceType = ppPublishSlideRang
.RangeStart =
.RangeEnd =
.Publis
End Wit

Try as I might, I can't find how to set the titlebar or even how to retrieve the property! Any clues?
 
Try the following before you publish it:
ActivePresentation.BuiltInDocumentProperties("Title").Value = "My Title"

--
Regards
Shyam Pillai

http://www.mvps.org/skp

drsometimes said:
The following code in Powerpoint 2000 creates a Web Page from a specified
slide without the outline pane but also without a title in the browser
titlebar:
strPath = ActivePresentation.Path & "\"

With ActivePresentation.PublishObjects(1)
.FileName = strPath & "webpage5.htm" 'just an example
.SourceType = ppPublishSlideRange
.RangeStart = 5
.RangeEnd = 5
.Publish
End With

Try as I might, I can't find how to set the titlebar or even how to
retrieve the property! Any clues?
 
Back
Top