Is there a way to synchronize sections of different Word documents? [closed]
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this questionI'm working on how my company does documentation (especially programming documentation). I'd like to be able to synchronize sections of differe开发者_StackOverflow社区nt Word documents, such that if a section in one document changes, the change is reflected in the other document, and vice versa. Is there a way to do this with Word, and if not, is there some word processing program that is good at this?
I appreciate this is an old question, but Google brought me here.
This can be done (at least on Word 2016, other versions not tested) one-way as follows:
- In the source document, select the text you want to synchronise, and on the
Insert
tab, clickBookmark
in theLinks
section. - Type a name for the bookmark (no spaces allowed), and click
Add
. - Save the document.
- Open the document where you want to duplicate the text ("destination document").
- On the
Insert
tab, click the drop-down arrow next toObject
(in theText
section), then clickText from File...
. - Browse to find the source document, and select it.
- Click
Range...
. - Type the bookmark name you entered in step 2, and click OK.
- Click the drop-down next to the
Insert
button, and clickInsert as Link
.
When you want to edit the text, proceed as follows.
- Modify the source document as required, and save.
- Update the field in the destination document with one of the following methods:
- Right-click on the text and click
Update Field
. - Click on the text and press F9.
- To update all fields in a document, Press Ctrl-A then F9.
- Right-click on the text and click
You can always make section 1 in your example above a third word document and then insert it into Document A and B (Insert > Object) and make the object linked to the file, so it will load changes each time you open A or B.
Why not just use the Master and Subdocument features built-in with Word? It's exactly for your kind of situation.
精彩评论