Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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. -- Erika |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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 "Erika" wrote: 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. -- Erika |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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 "Erika" wrote: 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. -- Erika |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Auto-incrementing number fields in Word Forms | Microsoft Word Help | |||
Incrementing numbers | Microsoft Word Help | |||
incrementing numbers in cells in a column and copying a cell's val | Tables | |||
Incrementing invoice number on word template | Microsoft Word Help | |||
HELP page numbers in Word 2002 vba | Microsoft Word Help |