See
http://word.mvps.org/FAQs/MacrosVBA/NumberDocs.htm
and
http://www.gmayor.com/automatic_numbering_documents.htm
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site
www.gmayor.com
Word MVP web site
http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
jnm wrote:
> I have created a report form / template, which is accessible from MS
> Word for all the users.
>
> Now I want to include a macro, which shall:
>
> Control the storage folder (like "server"/hh/reports/)
>
> Control the name of the file the first time it is saved via a
> "counter". Meaning the first report is named 1 the next 2 and so on.
> But all editing and resave of the report shall to the original name.
>
> I need some examples to do the trick.
>
> Regards
>
> Jorgen