Add Method

Home Page (Objects)OverviewFAQReference

Applies to: Documents object

Creates a document of a specified type.

Syntax

object**.Add**type

Parameters

object

An expression that evaluates to a Documents object.

type

A String that represents the type of document you want to create. This type is defined by the Type property.

Example

The following example adds a document to the Documents collection:

Documents.Add