SEQ number field??

B

Bruno Coelho

Hello,
I'm having a problem, how to create a sequencial number field.
this document is an tempate, and i open i want the number to be sequencial.
for example, if i enter in the template three times th sequencial, number
have to be 1, 2 and 3. 1 for the first template opened, 2 for th two template
opened and so on on ........
Any sugestion???
Thanks
 
B

Bruno Coelho

Thanks
one part is resolved, buit i have another part that appear!!!
when i put the macro it works well in the first box, but i have another one,
that i want to put the same value that are in the box. how i do this??

thanks for any help.

"Greg" escreveu:
 
D

Doug Robbins - Word MVP

Either create a second bookmark in the template and add another line of
code:

ActiveDocument.Bookmarks("newbookmarkname").Range.InsertBefore Format(Order,
"00#")

Or in the location where you want the number to be duplicated, insert a
cross reference to the text of the Order bookmark and add a line

ActiveDocument.Fields.Update

to the code so that it updates the cross reference field to show the value
that was entered into the bookmark


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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