How to minimize metadata in Word 2002
This article was previously published under Q290945 For a Microsoft Word 97 version of this article, see
223790 (http://support.microsoft.com/kb/223790/). For a Microsoft Word 2000 version of this article,
see
237361 (http://support.microsoft.com/kb/237361/). For a Microsoft Word 2003 version of this article,
see
825576 (http://support.microsoft.com/kb/825576/). On This PageSUMMARY This article describes various methods that you can use to
minimize the metadata in your Microsoft Word documents. Whenever you create, open, or save a document in Word 2002, the document may contain content that you may not want to share with others when you distribute the document electronically. This information is known as metadata. Metadata is used for a variety of purposes to enhance the editing, viewing, filing, and retrieval of Microsoft Office documents. Some metadata is easily accessible through the Word user interface. Other metadata is only accessible through extraordinary means, such as by opening a document in a low-level binary file editor. The following are some examples of metadata that may be stored in your documents:
This article describes various methods that you can use to minimize the metadata in your Word documents. DISCLAIMERMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please visit the following Microsoft Web site:https://partner.microsoft.com/global/30000104 (https://partner.microsoft.com/global/30000104) For more information about the support options that are available
and about how to contact Microsoft, visit the following Microsoft Web site: http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms) For additional information about how to use
the sample code in this article, click the following article number to view the
article in the Microsoft Knowledge Base: 290140 (http://support.microsoft.com/kb/290140/)
OFFXP: How to Run Sample Code from Knowledge Base Articles
How to Automatically Remove Personal Information When You SaveYou can now automatically remove personal information from a Word document when you save the document. To turn this option on, follow these steps:
How to Manually Remove Your User Name from Your DocumentsTo view or change your user name, follow these steps:
How to Manually Remove Personal Summary InformationWhen you create or save a document in Word, summary information may be saved in the document. There are several methods that you can use to access this information:
How to Manually Remove Personal Summary Information When Connected to a NetworkIf you are logged on to a network, your network user name may appear in the Author box on the Summary tab and in the Last saved by field on the Statistics tab when you save a document. This issue may occur even if you have removed all other personal information from your computer.To remove summary information from a document when you are on a network, follow these steps:
How to Manually Remove Comments in DocumentsWord offers the ability to add comments to documents. Typically, comments contain the name of the person who created them, so that you can tell who wrote them.Comments typically appear as a highlighted section of text; you can right-click the comment, and then click Delete Comment. Any new comments that you create will not contain your user name, because you have removed it from your Options dialog box, as described in the "How to Manually Remove Your User Name from Your Documents" section of this article. How to Manually Remove Headers and Footers from DocumentsHeaders and footers in documents may contain identifying information. To remove information from headers and footers, follow these steps:
How to Manually Remove Revision MarksDocuments can contain revision marks. Revision marks allow you to determine who makes specific changes to a document. When you accept or reject revision marks, the revised text is saved in the document, and the revision marks are removed.To accept or reject revisions, follow these steps:
How to Turn Off Fast SavesThe Fast Saves feature speeds up the process of saving a document by saving only the changes that are made to a document.Because of the design of the Fast Saves feature, text that you delete from a document may remain in the document, even after you save the document. If you are concerned about deleted text remaining in your documents, follow these steps:
290945 (http://support.microsoft.com/kb/290945/)
How to minimize metadata in Microsoft Word 2002
291181 (http://support.microsoft.com/kb/291181/EN-US/) WD2002: Frequently Asked Questions About "Allow Fast Saves"
How to Search for and Remove Text That Is Formatted As HiddenIn Word documents, you can format text as hidden. Because hidden text can contain information that you may not want to distribute, you may want to unhide and remove it. To remove all the text in a document that is formatted as hidden, follow these steps:
How to Remove Hyperlinks from DocumentsDocuments may contain hyperlinks to other documents or Web pages on an intranet or the Internet. Hyperlinks typically appear as blue underlined text strings.To manually delete a single hyperlink from a document, right-click the hyperlink, point to Hyperlink, and then click Remove Hyperlink. If you want to delete all the hyperlinks in a document, you can use a VBA macro to do this. The following sample VBA macro removes all the hyperlinks in a document. Note In the following sample macro, only the link is removed. The text of the hyperlink remains in the document. Important Before you use the following macro example, review the Disclaimer earlier in this article. To remove all traces of both the hyperlink and the text of the
hyperlink from the document, you can use the following sample macro instead. How to Remove Styles from DocumentsDocuments may include styles that contain metadata. You can remove these styles or rename them. To do this, follow these steps:
How to Remove Old File Versions from DocumentsWord includes a file version feature that permits you to save multiple versions of the same document in the same file. You may want to delete older versions of the document before you share it with others.To delete one or more versions of a document, follow these steps:
How to Remove Links from Field CodesLinked images and other objects in Word documents may contain linking information, such as the path of the linked image or object. You can remove linking information from your document by editing the field codes.To display field codes, follow these steps:
To remove the linking information from a linked image or other object, follow these steps:
How to Remove the Template Name and LocationAll documents that are created in Word are based on a template. By default, this is the Normal.dot template file, located in the Templates folder. However, you can create a document that is based on a different template in another location. The path and name of this template are stored in the document's properties.To view the template name and location, click Properties on the File menu, and then click the Summary tab. Even if you do not send the template with the document, the document retains the name and location of the template. To change the template name and location to non-identifying values, follow these steps:
How to Remove Routing Slip InformationIf you send a document through e-mail by using a routing slip, routing information may be attached to the document. To remove this information from the document, you must save the document in a format that does not retain routing slip information.In Word, save your document in either Rich Text Format (RTF) or HTML format. Close the document, and then reopen the new file. Because the routing slip information is no longer present, you can now save your document in the Word format. You can also follow these steps:
How to Remove Mail Recipient InformationWord 2002 retains the To, CC, and Bcc e-mail addresses if you send a document by using the Send To command on the File menu, and then click Mail Recipient and the e-mail header is enabled for a document. The information can be removed automatically as described in the "How to Manually Remove Your User Name from Your Documents" section.A Microsoft Visual Basic for Applications (VBA) macro can be used to enable the “Remove personal information from file properties on save” setting. Important Before you use the following macro example, review the Disclaimer earlier in this article. How to Remove the Names of Previous AuthorsWord stores the names of the last 10 people who worked on a document in the document. This is an automatic feature that you cannot turn off.You can remove the names of the last 10 authors from a document by using one of the following methods:
How to Remove Your Name from Visual Basic CodeImportant Before you use the following macro example, review the Disclaimer earlier in this article.When you record a VBA macro in Word, the recorded macro begins with a header that is similar to the following: To remove your name from any macros that you have recorded, follow
these steps:
How to Remove Visual Basic References to Other FilesIn the Visual Basic Editor, you can create a reference to another file. If a user opens a document that contains references to other files, the user can see the names of the referenced files.To remove these references, follow these steps:
How to Remove Network or Hard Disk InformationWhen you save a document to your local hard disk or to a network server, information that identifies the local hard disk or network server may be written in the document.To remove this information from the document, follow these steps:
Note Because of the space limitation of a floppy disk (generally 1.44 megabytes [MB]), this method cannot be used if the document file size exceeds the free space on the floppy disk. Embedded Objects in Documents May Contain MetadataIf you embed an object in a document, the object still retains its own properties, regardless of what you do to the document. For example, if you embed a Microsoft Excel workbook in a Word document, the document and the workbook each has its own properties.To remove metadata from an embedded object, activate the object, remove any metadata as described in the previous sections, reactivate the container document, and then save the container document. Note When you activate an embedded object in a document, only part of the embedded object appears in the document; the object may contain additional information that does not appear. If you want a document to contain only a rendering of the embedded object and not the actual contents, use the Cut command on the Edit menu to delete the object, and then use the Paste Special command to paste the object into the document by using a Metafile format. After you do this, you can no longer edit the embedded object; however, it will not contain any metadata. Document Variables May Contain MetadataImportant Before you use the following sample macro, review the Disclaimer earlier in this article.To delete the document variables contained in your Word document, use the following sample macro: For more information about variables, in the Visual Basic
Editor, click Microsoft Visual Basic Help on the Help menu, type Variables Property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.How to Remove the AdHocReviewCycleID Property from DocumentsWhen you send a Word 2002 document in e-mail the AdHocReviewCycleID property is added to the document and the property is assigned a randomly generated GUID value. When you open a document with an AdHocReviewCycleID value, the value is compared to the GUIDs of documents that you have previously created on your computer. If the GUID matches a GUID on your computer, you are prompted with the following dialog:To remove the AdHocReviewCycleID property, follow these steps:
General Suggestions About SecurityHere are some general suggestions that you can use to increase the level of security in your computing environment:
| Article Translations
|

Back to the top
