CreateNewDocument Method

         Example         Applies To

Creates a new document linked to the specified hyperlink.

Syntax

expression.CreateNewDocument(Filename, EditNow, Overwrite)

expression   An expression that returns a Hyperlink object.

Filename   Required String. The file name of the specified document.

EditNow   Required Boolean. True to have the specified document open immediately in its associated editing environment.. The default value is True.

Overwrite   Required Boolean. True to overwrite any existing file of the same name in the same folder. False if any existing file of the same name is preserved and the Filename argument specifies a new file name. The default value is False.