![]() |
|
#1
|
|||
|
|||
|
Good morning. I have a docm template with vba code inside. This code has dozens of lines that refer to blocks of content that I have been creating in this style:
Code:
Application.Templates( _
"C:\Users\X041754\Desktop\IT GATu.dotm"). _
BuildingBlockEntries("IT VEH LIGERO").Insert Where:=Selection.Range, RichText _
:=True
Please help. I don't know how to implement a code so that, even if the location changes, I will be able to continue using the macros and the code. |
|
|
Similar Threads
|
||||
| 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 |
New building blocks have stopped working (Word 2016)
|
Genericname1111 | Word | 0 | 05-20-2020 04:17 PM |
Get image path from content control field - NO VBA possible
|
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 |