Incrementing Numbers in Word 2002

E

Erika

I'd like to know how I can set a number field in a form template to
auto-increment every time a new document is created and saved from the
template.
 
A

alborg

Hi Erika:

There are several ways to do what you want to do. What you want can be done
by writing to the registry every time the template is opened. It requires
that you have a popup UserForm which initiates the opening code when the
template is run. You can have a Jet 4.0 table that holds the number count, or
if you wish to get fancy, you can write the opening number to the registry
(only moderately difficult).

You also need to decide when you wish to auto-increment the number- when the
template is opened, or when the document is saved.

How exactly do you wish to approach this?

Al
 
A

alborg

Actually, you posted twice about this and Graham has answered your question
already. If you have any difficulty, I can show you my routine which is only
slightly different.

Cheers,
Al
 

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