Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Removing All File Properties.
Written by Allen Wyatt (last updated April 3, 2021)
This tip applies to Word 97, 2000, 2002, and 2003
Word allows you to maintain a fair number of properties associated with a document. You can see these properties by choosing Properties from the File menu. These properties vary from document to document. Some of them are set automatically by Word, and others can be set manually by you.
Using a macro, you can clear all the boxes on the Summary tab of the Properties dialog box. The following macro tries to access all the built-in document properties, resetting them so that they contain nothing. If a non-writable document property is accessed (for example, the time the document was last printed), then an error is generated and the macro resumes on the very next property.
Sub CleanProp() Dim oProp As DocumentProperty On Error Resume Next For Each oProp In ActiveDocument.BuiltInDocumentProperties oProp.Value = "" Next oProp End Sub
There are also commercial metadata cleaners available on the market. These clean not only the information stored in the document properties, but also other identifying data that you might not want distributed with a document. Examples of these types of programs are Metadata Assistant (Payne Consulting Group) and Workshare Protect (WorkShare). You can use your favorite search engine to search for information on these and other cleaners.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1377) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Removing All File Properties.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
At some point you may want to insert one Word document inside another Word document. An easy way to do this is to use the ...
Discover MoreWord has a feature called AutoRecover that helps you when Word or Windows crashes. If your Normal template gets messed up ...
Discover MoreAfter using Word for a while, it is easy to accumulate quite a few documents. At some point you may want to make a change ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments