Inserting dates automatically into filenames

J

Jo Robertson

I am designing a Word 97 template that will be used by a
large number of users who have little or no IT training. I
wish them to save the document using a certain naming
convention followed by the date on which they save the
doc. I know I can make Word suggest the word content of
the filename by using Document Properties, but can I get
this same feature to automatically insert the date?

Any help would be greatly appreciated.

Thanks.
 
C

Cindy M -WordMVP-

Hi Jo,

You'd need to use VBA (a macro) to do this. It could be an
AutoOpen macro that sets the "Title" document property, for
example. You'll find the information for a macro to set the
document property on word.mvps.org

The command Date yields the current date. For example:

"this is the rest of the file name" & CStr(Date)
I am designing a Word 97 template that will be used by a
large number of users who have little or no IT training. I
wish them to save the document using a certain naming
convention followed by the date on which they save the
doc. I know I can make Word suggest the word content of
the filename by using Document Properties, but can I get
this same feature to automatically insert the date?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 

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