Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Custom Version Number - Update On Button Push Only?
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 |
#2
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Custom Version Number - Update On Button Push Only?
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 |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Push to Send Button in Template | Microsoft Word Help | |||
push-button in Word 2003 document | Microsoft Word Help | |||
Where is 'Widows and Orphans' button on this version? | Microsoft Word Help | |||
how to auto update version number field when closing document | Microsoft Word Help | |||
How to get the service pack number using its version number? | Microsoft Word Help |