Hello Georgiamaib,
First of all, I'd recommend breaking the long chain of calls to separate lines of code (independent calls). Let's start from the beginning.
The
Templates property of the Application class returns an instance of the corresponding class from the Word object model. You can iterate via all members and find the required one, for example:
Count = 1
For Each aTemplate In Templates
MsgBox aTemplate.Name & " is template number " & Count
Count = Count + 1
Next aTemplate
The Template class provides the
BuildingBlockEntriesproperty which returns a BuildingBlockEntries collection that represents the collection of building block entries in a template. You may
iterate over all items in the collection and find the required one. After you've found the one you may use the
Insert method of the BuildingBlock class.
Also after you've found the required Template you may use
OpenAsDocumentmethod which allows to open the specified template as a document and return a
Document object.