Partager via


Document.BuildingBlockInsert Event (Word)

Occurs when you insert a building block into a document. .

Syntax

Private Sub expression _BuildingBlockInsert(Range, Name, Category, Type, Template)

expression An expression that returns a Document object.

Parameters

Name

Required/Optional

Data Type

Description

Range

Required

Range

Specifies the position where the building block is inserted.

Name

Required

String

Specifies the name of the building block.

Category

Required

String

Specifies the building block category.

Type

Required

String

Specifies the type of building block.

Template

Required

String

Specifies the name of the template that contains the building block.

Remarks

For information about using events with a Document object, see Using Events with the Document Object.

See Also

Concepts

Document Object

Document Object Members