Suggest default filename on first save from template

J

Jason

I use templates a lot to help my work. I'd like for there to be a way to
replace the suggested file name (the first words in the document) with a
specific format.

For example, the suggested filename would be "YY-MM-DD [fieldA.Contents].doc"

If this isn't possible to do with macros directly, maybe there's a way to
hide a calculated field as the first text in the document so that the default
algorithm uses it.

In that case, any help on creating a constantly updated hidden field that
can be picked up by the file namer?

Thanks,

Jason
 
J

Jay Freedman

Jason said:
I use templates a lot to help my work. I'd like for there to be a
way to replace the suggested file name (the first words in the
document) with a specific format.

For example, the suggested filename would be "YY-MM-DD
[fieldA.Contents].doc"

If this isn't possible to do with macros directly, maybe there's a
way to hide a calculated field as the first text in the document so
that the default algorithm uses it.

In that case, any help on creating a constantly updated hidden field
that can be picked up by the file namer?

Thanks,

Jason

No need to get fancy. :) See
http://word.mvps.org/faqs/macrosvba/SetDefFilename.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