New (Method)

Applies To:

Documents collection

Description:

Creates a blank Interactive Reporting document file.

Syntax:

Expression.New([Name As String]) As Document

Expression Required:

An expression that returns a Documents object

Example:

This example shows how to create an Interactive Reporting document file:

var MyName = "JavaScript Test"
var MyDoc = Documents.New(MyName)
MyDoc.Save()