When is wdFieldRevisionNum updated?

T

Thomas Bayer

Hi,

I wrote a VBA macro in word which prints out the version of a document
(wdFieldRevisionNum) in the footer of the document. The idea is to compare a
printed version of the document with an electronic one.

As far as I understand wdFieldRevisionNum will be updated after each change
of the document (incl. printing). And of course it will only be persited when
the document is saved.

Now my questions:
Are there any other events which will cause a change of wdFieldRevisionNum?
And how can I ensure that the footer always contains the correct
wdFieldRevisionNum?
I think about autoupdate of the footer after saving the document - but won't
that effect wdFieldRevisionNum?

Thanks for your help
Thomas
 

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