hi ahrinn,
Do you want the number to update automatically when you open the document, or only when you decide? Do note that, whichever way you go, there is a small risk that the generated number will be the same as one you've used before. At present it does the latter - simply pressing the tab key updates it. The macro is quite simple, but it needs to be coded differently - and perhaps the document designed differently, according to what you want.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|