For example, you have a screenshot (Step 2) with a full filepath that includes a document, but that document is not shown in the list of files.
"because the file is inside each folder AT-12345678, AT-8659320,etc, it is so that you can see how it is structured"
"L:\02.- ATESTADOS 2022\ATESTADOS PAMPLONA\2. ACCIDENTES CIRCULACION\AT-1234568\BAEI – INFORME TECNICO.docm
L:\02.- ATESTADOS 2022\ATESTADOS PAMPLONA\2. ACCIDENTES CIRCULACION\AT-8659320\BAEI – INFORME TECNICO.docm
L:\02.- ATESTADOS 2022\ATESTADOS PAMPLONA\2. ACCIDENTES CIRCULACION\AT-4236793\BAEI – INFORME TECNICO.docm"
Below, the path includes a FILE -- BAEI -
INFORME TECNICO.docm -- but that file doesn't appear in the list of files.
"because the file is inside each folder, it is so that you can see how it is structured"
Code:
L:\02.- ATESTATDOS 2022\ATESTADOS PAMPLONA\2. ACCIDENTES CIRCULACION\AT-17851411703\BAEI - INFORME TECNICO.docm
If you can confirm that the following steps are EXACTLY the process your users are taking, then it would be possible to help figure out the solution:
1. User goes to the following folder (or maybe other folders, too) with templates and makes a COPY of a template -- to be absolutely clear -- a DOTX file (a DOTM file it works):
Code:
L:\06. MODELOS DE DOCUMENTOS\01 ATESTADOS\ACCIDENTES DE CIRCULACION\Informe Tecnico\
2. User creates a new folder with numerical name, for example, AT-123456789. [B]YES[B]
3. User PASTES the template (DOTX) file into the new folder. [B]YES[B]
4. User creates a new DOCM document file based on the template.
The folder now CONTAINS BOTH THE *TEMPLATE* (DOTX) AND THE *FILE* (DOCM).
NOT, ONLY TEMPLATE DOCM 5. The user now works on the DOCM file.
Again, if this is EXACTLY the process your users are using, then the problem can be solved.
1.- Which is quite simple to understand. Workers have a template (BAEI - INFORME TECNICO.docm).
2.- They copy it (so as not to overwrite it and so the next partner can use it) and paste it into the path:
L:\02.- ATESTATDOS 2022\ATESTADOS PAMPLONA\2. ACCIDENTES CIRCULACION\
3.- A folder is created, to differentiate it from other folders that other colleagues create, for example: AT-12345678
4.-So you are left with the following path: L:\02.- ATESTATDOS 2022\ATESTADOS PAMPLONA\2. ACCIDENTES CIRCULACION\AT-17851411703\BAEI - INFORME.docm TECNICO.docm
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.