CreateNewDocument Method Example
This example creates a new Web presentation to be associated with hyperlink one on slide one. The new presentation is called Brittany.ppt, and it overwrites any file of the same name in the HTMLPres folder. The new presentation document is loaded into Microsoft PowerPoint immediately for editing.
ActivePresentation.Slides(1).Hyperlinks(1).CreateNewDocument _
FileName:="C:\HTMLPres\Brittany.ppt", _
EditNow:=True, _
Overwrite:=True