How to add a shared template

K

Kevin J Prince

Greetings,
I've asked under different titles, but lets' try this one...

I need to write a template which:
1. Inserts a number whenever a New document is created.
2. The numbers needs to be incremented each time accessed.
3. The template needs to be accessible from any of three PC's, but only
one numbers file.
4. It is irrelevant if a document is cancelled and the number not
actually used.
5. The template needs to be stored on the main computer.
6. The numbers file needs to be stored on the main computer.

Any help appreciated

Regards
Kevin
 
C

Cindy M -WordMVP-

Hi Kevin,
I need to write a template which:
1. Inserts a number whenever a New document is created.
2. The numbers needs to be incremented each time accessed.
3. The template needs to be accessible from any of three PC's, but only
one numbers file.
4. It is irrelevant if a document is cancelled and the number not
actually used.
5. The template needs to be stored on the main computer.
6. The numbers file needs to be stored on the main computer.
I suggest you read/write the value to an INI file. INI files are more
"forgiving" than plain text files (like were discussed in the other thread
you started). And using Word, you can exchange info with INI files quite
easily, using System.PrivateProfileString

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
K

Kevin J Prince

Thanks Cindy
Thanks for the reply
I was getting desperate for and answer and thought I would tackle the
question in a different way to the NG. I now have the answer. As you
will see It was all my fault that I got the addressing method wrong...
Sorry to take up NG B/W

Kevin
 

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