Our Building Blocks template has two entries with the same name. One is an AutoText; the other a QuickPart. The AutoText entry is just text; the QuickPart entry is a text box with the same text in it.
The following code sets the BuildingBlock template as oTemplate. The Insert method inserts the AutoText entry.
Dim oTemplate As Template Set oTemplate = Application.Templates(“C:…Building Blocks.dotx”) oTemplate.BuildingBlockEntries(“ABC”).Insert Where:=Selection.Range, _ RichText:=True
What must I do to insert the QuickPart (not AutoText) that has the name “ABC”?
Thanks.