How do I add a version number field to an office 2007 docx document?

You can create a custom Document Property (View or change the properties for an Office document):

  1. Click the Microsoft Office Button Button image, point to Prepare, and then click Properties.

  2. In the Document Information Panel, click the arrow next to Document Properties, and then click Advanced Properties.

  3. In the Document Properties dialog box, click the Custom tab.

  4. In the Name box, type a name for the custom property, or select a name from the list.

  5. In the Type list, select the data type for the property that you want to add.

  6. In the Value box, type a value for the property. The value that you type must match the selection in the Type list. For example, if you select Number in the Type list, you must type a number in the Value box. Values that don't match the property type are stored as text.

  7. Click Add.

Then insert the custom Document Property into your document (Add property information to a document):

  1. Click where you want to add a property control in your document.

  2. On the Insert tab, in the Text group, click Quick Parts.

  3. Click Document Property, and click the control that you want.


On Office 365, seems you need to do it slightly differently to the above answers. You need to add a custom property to the document, and then access it indirectly via a "DocProperty" field.

To make the custom property

  1. Click File > Info.
  2. Click the drop-down triangle next to Properties on the right.
  3. Click Advanced Properties.
  4. Click Custom tab.
  5. At Name: type a name for the property, e.g. "Version".
  6. At Value: type its value, e.g. "0.3".
  7. Click OK. The dialogue closes.

To insert it in your document

  1. If you're in the Info screen, Click the (<-) back arrow top-left to go back to the main Word screen.
  2. Click the Insert tab.
  3. In the Text tools, click the Explore quick parts button; click Field... to open the Field dialogue.
  4. At Categories: select Document Information.
  5. At Field names: select DocProperty. The Field properties pane changes to show the properties.
  6. At Property: click Version (or whatever you called the custom property).
  7. Click OK. The version number appears in your doc.

Whenever you change the value of the custom property, the document changes too.


RevNum field will automatically be increased when the document changes. So there is no need to do this manually + you can't forget doing it ;-)

  • Click Insert tab
  • Go to Text group
  • Click the Quick Parts button, choose Field

Sources:

  • http://www.addintools.com/documents/word/where-insert-field.html
  • http://office.microsoft.com/en-gb/word-help/field-codes-revnum-field-HP010263660.aspx
  • http://word.tips.net/T001835_Inserting_the_Document_Revision_Number.html