A family of Microsoft word processing software products for creating web, email, and print documents.
Hi Cindy,
VBA code to access building blocks looks like the following:
Sub InsertBuildingBlock()
ActiveDocument.attachedTemplate.BuildingBlockEntries("AuthorTec Caption Title").Insert _
Where:=Selection.Range, RichText:=True
End Sub
I prefer to use AutoText because it is compatible across Windows and Mac environments.
iDoc.AttachedTemplate.AutoTextEntries(strBlockName).Insert(Where:=wApp.Selection.Range, RichText:=True)