Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-20-2022, 04:54 AM
gorkac gorkac is offline Content blocks stop working when changing file path Windows 10 Content blocks stop working when changing file path Office 2019
Banned
Content blocks stop working when changing file path
 
Join Date: Jul 2021
Location: Usa
Posts: 62
gorkac is on a distinguished road
Default

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.
Reply With Quote
Reply



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
Content blocks stop working when changing file path New building blocks have stopped working (Word 2016) Genericname1111 Word 0 05-20-2020 04:17 PM
Content blocks stop working when changing file path 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

Other Forums: Access Forums

All times are GMT -7. The time now is 08:28 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft