|
Question : How do I create an automatic counter in MSWord?
|
|
A friend of mine has come to me for some assistance on this although I am stuck at the moment. Basically what he is trying to do is automatically generate a sheet of labels in MSWord that he can then print out and stick on books. He already has a document setup to the correct label size, he would just like it to output labels all in the same format shown below.... ______________________________________ Company Name Department
Book Number 08 - [Auto Generated Number] ______________________________________
so that when he opens word he can input the end number and word will generate the rest of the numbers on all the labels required so if he puts in 1, he would like word to start the autonumbers 01 then 02,03,04,05 and so on until it reaches the end number.
Any help on this please,
Thanks,
Stewart
|
|
Answer : How do I create an automatic counter in MSWord?
|
|
Have you got the mailmerge working?
If it is too complicated, we will need to think about a VBA program. Otherwise the merge can be improved. At the moment it does not show the leading 0. Is 99 the limit, or might there be more than that?
The new workbook now only goes to 99. On the mailmerge main document, there is a date field to show the 08 (for this year). Both it and the merge field have formatting switches.
You can use the Alt+F9 toggle to see the field codes with the switches. This is what they look like:
{Date \@ "yy" } { MERGEFIELD "BookNumber" \# 00 }
|
|
|
|