Field Codes

R

rayopgreen

Version: 2004 Operating System: Mac OS X 10.5 (Leopard) I am not very verse in Word and need some help creating a field code on an Invoice template so that the invoice number will automatically change when ever i open it. at the moment the date changes automatically. Thank you in advance.
 
R

rayopgreen

hello Macropad,

thanks for your response but i still am not making any headway, maybe i asked the wrong thing, i am actually using word 2008 for mac and when i right click on the part of the Invoice where the invoice number is i see Toggle Field Codes, when i click on it i get this {DOCPROPERTY InvNum \# 0000}. The invoice date is right under that and that automatically updates when i open up the template. when i right click on the date i see an option to update field but the invoice number does not have that option. Does this mean the code is already there and i just have to adjust it somehow. Please help.
 
P

Peter Jamieson

It sounds as if you are using a pre-existing template.

A DOCPROPERTY field just gets a value from the properties you can set in
Word File->Properties. In this case if you go to File->Properties and
click Custom, you may see one or more properties listed, one of which
should be called InvNum.

To change the value you would have to select that property and modify
its value, /then/ go and update the { DOCPROPERTY } field.

The thing is that someone may have put some code (e.g. some VBA code in
the template) that is supposed to increment that property value. Without
such code, nothing would ever change the value of the property, so you
would have to do it manually. So you probably need to ind out what is
/supposed/ to happen in your case.

Peter Jamieson

http://tips.pjmsn.me.uk
 

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