In this article, we will focus on explaining 4 quick ways to auto update all repeated or related contents in your word document.
If you work with statistics reports quite often, you will find same texts or values appear all the time through a document. And another situation is now and then you will get a value based on previous data. Then here is the problem. When you alter a text or a value in one place, can you automatically update all the same texts or related data in the whole document?
Just read on and you will find out how.
Method 1: Use the Cross-reference
- First of all, select the text which will show again in your document.
- Secondly, click “Insert” tab.
- Then click “Bookmark” in “Links” group.
- Next you name the bookmark in “Bookmark” dialog box.
- And click “Add”.
- Now put your cursor right at the place where the repeated text goes.
- Then click “Insert” tab again.
- And this time click “Cross-reference” in “Links” group.
- Next, in “Cross-reference” dialog box, you first choose “Bookmark” for “Reference type”.
- Then choose “Bookmark text” for “Insert reference to”.
- And select the right bookmark name in “For which bookmark” list box.
- Lastly, click “Insert” button.
Later, when you decide to change contents, you just need to modify on the first text and follow the steps to update. We will discuss the ways to update contents in the latter part of this article.
Method 2: Use Field
- To begin with, repeat the first 6 steps in method 1.
- Then, press “Ctrl+ F9” to insert field braces in your document.
- Next input the bookmark name into between the two braces, such as “A1” here.
- Finally, press “F9” and you will get the same text.
Method 3: Choose Paste Option
- First and foremost, select the first text.
- Then, press “Ctrl+ C”.
- Next click the upside-down triangle on “Paste” option under “Home” tab.
- And on the list-menu, choose “Paste Special”.
- Then in “Paste Special” dialog box, choose “Paste link”.
- Then select “Formatted Text”.
- At last, click “OK”.
Method 4: Use Field to Update Related Data
For example, we have a table of one row and three columns as below:
The value in “R1C3” cell should be the result of summing “R1C1” and “R1C2” cells.
- First step, using the instructions in method 1 to insert bookmarks for values in “R1C1” and “R2C2” cells. Here, we name these bookmarks as “s1” and “s2’.
- Then lay your cursor at “R1C3” cell.
- And press “Ctrl+ F9” to get field braces.
- Now between the two braces, you should enter formula: { ={ s1 }+{ s2 } }
You should get all these braces by pressing “Ctrl+ F9” instead of typing manually.
- Finally, press “F9” to get the result.
Notice: For both 4 methods, when you need to change the text or data, you should enter the new text or date by putting insertion point inside the original one, and then delete it later.
2 Ways to Update Contents
The first method is to press “Ctrl+ A” to select the whole document, and then press “F9” to update automatically.
The second one is to use VBA codes.
- Firstly, press “Alt+ F11” to open VBA editor.
- Then double click “ThisDocument” to open the code editing area if necessary.
- Next paste the following codes there:
Sub UpdateDate() If ActiveDocument.Fields.Count > 0 Then ActiveDocument.Fields.Update MsgBox ("Successfully updated all fields in this document!") Else MsgBox ("No field found in this document.") End If End Sub
- Lastly, click “Run”.
Prepare for Emergencies
Speaking of emergencies in running programs, we will come to software crashes and file corruptions. Certainly, we can take some preventive measures, such as backing up files and running antivirus products regularly. Yet, even backups can fall victim to malicious attacks or wrong operations. And the words processor, Word, which we use every day, is no exception. Therefore, one of the preparing measures you must take is to get hold of a potent corrupt Word recovery tool
Author Introduction:
Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including Excel xlsx data repair and pdf repair software products. For more information visit www.datanumen.com