View Single Post
 
Old 03-20-2022, 01:17 PM
Charles Kenyon Charles Kenyon is offline Windows 10 Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,474
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by gorkac View Post
Then comes the problem that I explain
As the file BAEI - INFORME TECNICO.docm contains contentblock of this style:

Code:
Application.Templates( _
"L:\06. MODELOS DE DOCUMENTOS\01 ATESTADOS\ACCIDENTES DE CIRCULACIÓN\BAEI\Informe Tecnico\BAEI - INFORME TÉCNICO.dotm"). _
BuildingBlockEntries("INICIO Y EXPOSICION DE HECHOS").Insert Where:=Selection.Range, RichText _
:=True
in the new path
Code:
L:\02.- ATESTATDOS 2022\ATESTADOS PAMPLONA\2. ACCIDENTES CIRCULACION\AT-17851411703\BAEI - INFORME TECNICO.docm
it does not work.

I need a way to ask the worker what address is the new path where the BAEI template is going to work - INFORME TECNICO.docm and thus this route replaces the one that comes in the content blocks so that they work.
A .docm file is not a Word template. It cannot hold a building block.



If you give your users a .dotm template, it can hold the building block. Is there some reason to have the building block in a separate file?
Reply With Quote