See
http://word.mvps.org/FAQs/MacrosVBA/NumberDocs.htm
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site:
http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
"allan" wrote in message
news
I am trying to create a word template that has a number that increments
with
each new document created.
So far I have worked from kb212686 and that is fine, but I would like to
have the number so that it is to five signicant digits.
eg
5 would be 00005
101 would be 00101
and so forth
If anyone has got any ideas on how to achieve this I would be very
appreciative to know.