Documents Members (Word)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Methods

Name

Description

Add

Returns a Document object that represents a new, empty document added to the collection of open documents.

AddBlogDocument

Returns a Document object that represents a new blog document that Microsoft Word publishes to the account described by the first three parameters.

CanCheckOut

True if Microsoft Word can check out a specified document from a server. Read/write Boolean.

CheckOut

Copies a specified document from a server to a local computer for editing.

Close

Closes the specified documents.

Item

Returns an individual Document object in a collection.

Open

Opens the specified document and adds it to the Documents collection. Returns a Document object.

OpenNoRepairDialog

Opens the specified document and adds it to the Documents collection.

Save

Saves all the documents in the Documents collection.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Count

Returns a Long that represents the number of documents in the collection. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Parent

Returns an Object that represents the parent object of the specified Documents object.