Autotext for file numbers

C

Charles Anderson

I am trying to make some Autotext that is supposed to represent a file
number. It's in the header of a template. The number is supposed to be the
same for the whole file, but the next time I create a file with that
template, I need it to be one higher.

Charles
 
S

Suzanne S. Barnhill

Well, you've got two different things going on here. You can insert (in a
header or footer or anywhere in the document) the "Filename" or "Filename
and path" AutoText entry, which represents the FILENAME field. To force a
specific filename, you can use a macro that writes specific text to the
Title property, which will then be suggested as the filename when you save.
For this purpose, you could perhaps use a variation of the method used in
http://word.mvps.org/FAQs/MacrosVBA/NumberDocs.htm
 

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