Re: Custom Version Number - Update On Button Push Only?
- From: "Robert M. Franz (RMF)" <robert.franz@xxxxxxxx>
- Date: Sun, 10 Jun 2007 10:33:29 +0200
Hi Martin
Martin Hughes wrote:
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
--
/"\ ASCII Ribbon Campaign | MS
\ / | MVP
X Against HTML | for
/ \ in e-mail & news | Word
.
- References:
- Custom Version Number - Update On Button Push Only?
- From: Martin Hughes
- Custom Version Number - Update On Button Push Only?
- Prev by Date: Re: Screwey Headers/Letterhead
- Next by Date: Re: In Labels how to change from imperial to metric measurements pls?
- Previous by thread: Custom Version Number - Update On Button Push Only?
- Next by thread: Re: formatting a graphic
- Index(es):