Hyperlink.CreateNewDocument (PowerPoint)

Creates a new Web presentation associated with the specified hyperlink.

CreateNewDocument (FileName, EditNow, Overwrite)


Dim strFileName As String: strFileName = 
ActiveWindow.Selection.SlideRange(1).Hyperlinks(1).CreateNewDocument FileName:=strFileName, EditNow:=msoTrue, Overwrite:=msoTrue

Arguments

The following arguments are required:

FileName (String) - The path and file name of the document.

EditNow (Office.MsoTriState) - Determines whether the document is opened immediately in its associated editor.

Overwrite (Office.MsoTriState) - Determines whether any existing file of the same name in the same folder is overwritten.