This documentation is archived and is not being maintained.

Document.BuildingBlockInsert Event

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


Private Sub expression_BuildingBlockInsert(Range, Name, Category, Type, Template)

expression   An expression that returns a Document object.


NameRequired/OptionalData TypeDescription
RangeRequiredRangeSpecifies the position where the building block is inserted.
NameRequiredStringSpecifies the name of the building block.
CategoryRequiredStringSpecifies the building block category.
TypeRequiredStringSpecifies the type of building block.
TemplateRequiredStringSpecifies the name of the template that contains the building block.


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