Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to put a version number in my document (e.g. 1.0, 2.3.4), and I want it to be reflected in other places in the document. I followed some instructions to create custom file properties using a bookmark, but when creating a bookmark for 1.0, the bookmark ends at the dot, and when the number is updated only the part before the dot is reflected. Is it possible to make the bookmark span the whole number, including multiple dots if they exist?

share|improve this question
up vote 1 down vote accepted

If you update the version number by positioning the cursor to the right of "1.0" and pressing Backspace to delete the "0", then you are accidentally truncating the bookmark. When you type the second "1" to make the document version 1.1, the "1" does not get added to the bookmark--it's just treated as regular text.

To get around this:

  1. Click after the dot and before the 0, so it looks like "1.|0"
  2. Type the 1, making the version number "1.10"
  3. Press Delete to delete the 0, leaving "1.1" as the value of the bookmark.
share|improve this answer
That's logical. Thank you! :) – Hosam Aly Oct 26 '09 at 11:27

In Word 2007 I would not use a bookmark for this as they are much less flexible than the new content controls.

Insert > Quick Parts > Document property > pick something appropriate.

While there is no "version" property, you could use something like "status". This gives you a content control to type in. Next time you add another control of the same type, the text matches.

The big advantage of these is that the content is part of the document properties (metadata), so if you change any one of them, they all update instantly, rather than with a bookmark you have to update the parent one, then the cross-references update. Also if you delete the original bookmark by mistake, the whole thing breaks; you delete one content control and the rest still work, and you just add one back in when you need it.

You can customise and extend these as well. Best reference work is Stephanie Krieger's Advanced Office Documents 2007 edition

share|improve this answer
Thank you for this useful information. However, I need to retain compatibility with DOC files, and quick parts are not compatible. – Hosam Aly Nov 1 '09 at 9:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .