View Single Post
  #2   Report Post  
Posted to microsoft.public.word.tables
macropod macropod is offline
external usenet poster
 
Posts: 1,002
Default Include document versions information in the document

Hi Gary,

You can use a DOCPROPERTY "RevisionNumber" field to get a count of each time
the document has been saved. If that's what you want, you can create one via
Insert|Field, or by pressing Ctrl-F9 to create a pair of field braces (ie
'{ }') and typing 'DOCPROPERTY "RevisionNumber"' between them so that you end
up with '{DOCPROPERTY "RevisionNumber"}'.

Alternatively, if you're saving using Word's 'Version' feature, you could use
add a macro to the document as per the example at:
http://support.microsoft.com/kb/212618/en-us
to create a custom 'Version' document property and call it with a field coded
as '{DOCPROPERTY "Version"}'. To do this you'd change the sub named 'Sub
SetCustomPropertyName()' so that the line:
SetProp "MyCustomPropertyName", "MyCustomValue", _
becomes:
SetProp "Version", ThisDocument.Versions.Count, _

Cheers

--
macropod
[MVP - Microsoft Word]


"Gary" wrote in message ...
| Is there anyway to include the document "versions" information information as
| a table within the document for printing purposes comparable to the
| functionality of the Table of contents?
|
| Thanks,
|
| Gary