Custom Version Number - Update On Button Push Only?

M

Martin Hughes

Hi guys,

I am looking for a way to set a version number for my document in the
header.

Up to now I have been using the revision number, but that updates every time
the doc is saved. I would like a way of updating a version number (perhaps a
custom field?) at the push of a button - and ONLY at the push of that button
(on a toolbar).

Is this possible? How would I go about it?

Many thanks,

Martin
 
R

Robert M. Franz (RMF)

Hi Martin

Martin said:
I am looking for a way to set a version number for my document in the
header.

Up to now I have been using the revision number, but that updates every time
the doc is saved. I would like a way of updating a version number (perhaps a
custom field?) at the push of a button - and ONLY at the push of that button
(on a toolbar).

Is this possible? How would I go about it?

Possible, yes, but only with VBA.

You would use a macro which increments a document property or document
variable. You can reference the property easily in the document.

If you need help with the code, best ask this in one of the .word.vba
forums/newsgroups (translate: I couldn't locate the needed objects in a
short time myself, but VBA is clearly out of my area of expertise :)).

0.2cents
Robert
 

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