Clear Word Properties In A Click
Every time you create a Microsoft Word document, it saves its properties too. By default, Microsoft Word will fill the properties with you registration name and company name. Unfortunately, you don’t always want it. Maybe you want set document properties with nothing or with yours. Whatever you choose, you must clean it first but if you must clean it every time you create a document, that’s not a good idea. You can make a macro to make it with a click.
To check your properties of document word, you can open it through File – Properties menu in Microsoft Word.

then you can look the properties.

And here are the steps to create a macro that can wipe you properties entries in a click:
1. Open Microsoft Word first, then open VB Editor to create a macro by click Macro – Visual Basic Editor menu.
Visual Basic Editor menu

2. In Visual Basic Editor, create a module by click Insert – Module menu.

3. Then type this script:
Sub wipe_prop()
Dim my_prop As DocumentProperty
On Error Resume Next ‘to make it silent
For Each my_prop In ActiveDocument.BuiltInDocumentProperties
my_prop.Value = “”
Next my_prop
End Sub

4. Then, to make sure that you don’t mistake when type the script, try to compiles it first by click Debug – Compile Project menu.

5. If you don’t get any error messages, you may close the Visual Basic Editor. Then you must copy to default Word template file, it calls normal.dot. To doing it, organize your macro first, click Tools – Macro – Macros menu.

6. In Macros dialog, click wipe_macro in Macro name list, and then click Organize button.

7. In Organize dialog, click Module1 item in left panel, click Copy button to copy it to normal.dot and then click Close button.

8. Actually, your macro has been made, but you must represent it by button on toolbar so that you can access it directly. To create a toolbar button, click Tools – Customize menu.

9. In Customize window, click Commands tab, select Categories: Macros, select Commands: Normal.Module1.wipe_prop.

10. Click and drag Normal.Module1.wipe_prop onto toolbar (you can choose your favorite toolbar to put it).

11. Then change its button name to makes it be more user friendly to other users by right click it (I suggest to give it name: Clean Properties), and if you’ve done click Close button on Customize dialog.

12. It’s done, to try it, click your macro button (Clean Properties) and then check your document properties by click File – Properties in Microsoft Word and if its properties is empty, it means it works!
