View Single Post
 
Old 11-11-2022, 09:14 AM
Italophile Italophile is offline Windows 11 Office 2021
Expert
 
Join Date: Mar 2022
Posts: 540
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

Saving a building-block to a document template does not move the template to the building-blocks folder. The template will remain wherever you saved it.

Building Blocks Organizer will only show the templates that are currently loaded, so, unless you currently have open either "WaiverWorksheetV09.dotm" or a document created from it, your building block will not appear in the organizer.

If you are using code to insert the building-block then:
Code:
"C:\Users\" & Environ("username") & "\AppData\Roaming\Microsoft\Document Building Blocks\1033\16\WaiverWorksheetV09.dotm"
would only work if that is the path that you saved the document template to, which you hopefully didn't.

To insert a building-block from the document template use code such as:
Code:
    Dim tmp As Template
    Set tmp = ActiveDocument.AttachedTemplate
    tmp.BuildingBlockEntries(1).Insert Selection.Range
Reply With Quote