Document.BuildingBlockInsert Event
Word Developer Reference |
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
- Document Object
- Document Object Members
- How to: Bind Controls to a Specific Row in the Data Store When Inserting a Building Block
- How to: Create a Custom Building Block Gallery
- How to: Filter the Building Block List in a Content Control
- How to: Insert a Content Control into a Building Block
- How to: Set the Building Blocks That You Can Use for a Content Control
- Working with Building Blocks