Article ID: 825576 - Last Review: July 27, 2006 - Revision: 5.4 How to minimize metadata in Word 2003On This PageSUMMARYThis article describes various methods that you can use to
minimize the metadata in your Word documents. When you create, open, or save a document in Microsoft Office Word 2003, 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 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. Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers 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 requirements. For more 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/
)
How to run sample code for the Office XP programs 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. With revision marks you can 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:
291181
(http://support.microsoft.com/kb/291181/
)
Frequently asked questions
about "Allow Fast Saves" in Word 2002
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 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. 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 properties of the document.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 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:
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 earlier 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 is displayed 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 that are contained in your Word document, use the following sample macro: General Suggestions About SecurityHere are some general suggestions that you can use to help increase the level of security in your computing environment:
| Article Translations
|
Back to the top
