inserting version number in Word documens

  • Thread starter Naveen Mukkelli
  • Start date
N

Naveen Mukkelli

Hi,

I'm using Office 2003 and Rational ClearCase for configuration management.
I would like to insert, in either header or footer, the version number of
Word documents that are placed under configuration management.

What I am looking for is, when ever a document has been updated, the new
version number should be inserted automatically into the documents.

Is is possible to do it? if so, please let me know how I can achieve this.

Cheers,

Naveen.
 
M

macropod

Hi Naveen,

Word has a RevisionNumber property you can access via a DOCPROPERTY field,
which you could put in the header or footer. This just gives you a count of
how many times the document has been saved +1 since the last 'Save As'.

If that's all you need, open the header or footer, press Ctrl F9 to create a
pair of field braces (ie '{ }') and fill them in so that you get
'{DOCPROPERTY "RevisionNumber"}' and press F9 to update.

To get the field to show the last revision number instead of the current
one, press Ctrl F9 twice to create a pair of nested field braces (ie '{
{ } }') and fill them in so that you get '{={DOCPROPERTY
"RevisionNumber"}-1}' and press F9 to update.

Word also has a versioning feature, but that is only triggered if the user
saves the file via File|Version. As well, I can't see any way to access the
version # via a field code, so you'd need to use a macro to access this
information for a header or footer.

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top