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.

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:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

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.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Word Link to Create a New Excel Workbook

It's easy to create and include links in your documents to other sources, in and out of Word. There are some limitations ...

Discover More

Dealing with the X of Y Bug

Have you ever printed a document, only to see that the page numbers are incorrect on the printout? If so, it could be due ...

Discover More

Stepping Through a Non-Contiguous Range of Cells

Using macros to step through each cell in a selection is a common occurrence. What if that selected range is made up of ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (menu)

Open Documents Suddenly Become Read-Only

If a Word document is marked as "read only," that means that you cannot save updates to the document; they must be saved ...

Discover More

Determining if a Document is Corrupt

Think you might have a corrupt document? There is no easy way to tell if this is the case, but there are some things you ...

Discover More

Using Header Information as the Filename

Save a document for the first time, and Word helpfully suggests a filename you can use or change. If you want this ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 7?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

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.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.