Autotext for file numbers

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top