Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Martin Hughes Martin Hughes is offline
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.word.pagelayout
Robert M. Franz (RMF) Robert M. Franz (RMF) is offline
external usenet poster
 
Posts: 1,741
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Push to Send Button in Template Terry[_2_] Microsoft Word Help 2 March 28th 07 07:28 PM
push-button in Word 2003 document Need a push-button Microsoft Word Help 1 January 24th 06 02:27 PM
Where is 'Widows and Orphans' button on this version? Judy Price Microsoft Word Help 3 September 1st 05 06:11 PM
how to auto update version number field when closing document hbrofman Microsoft Word Help 0 July 17th 05 05:15 PM
How to get the service pack number using its version number? Louis Chok Microsoft Word Help 1 March 2nd 05 03:54 AM


All times are GMT +1. The time now is 01:51 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"