![]() |
#20
|
|||
|
|||
![]()
You need to tell Word to load the building blocks in the template. You can do this by adding the following code at the beginning of your macro:
Code:
' Add this line to the beginning of your code, to access your template's building blocks: Application.Templates.LoadBuildingBlocks Code:
C:\Users\%username%\AppData\Roaming\Microsoft\Templates C:\Users\%username%\AppData\Roaming\Microsoft\Word\STARTUP Finally, modify your code to point to the template in the default location. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mapped Content Controls in Building Blocks? | Charles Kenyon | Word | 6 | 05-21-2021 05:40 PM |
Stop hyperlink to a file from changing address - causes problems with pdf | c.davidson | Word | 1 | 09-15-2020 11:11 PM |
![]() |
Genericname1111 | Word | 0 | 05-20-2020 04:17 PM |
![]() |
thoerzer | Word | 5 | 10-10-2019 12:10 AM |
Changing Absolute path to Relative in a Macro | MrKim | Excel Programming | 13 | 01-26-2019 02:18 PM |