Embedding a suggested filename in a Word template.

Running Office Pro + 2010.

User has created some templates. When a new Word document is spawned from one, then saved, it is desired that a set default file name be suggested.  Word by default seems to just grab the first bit of text in the body of the document.

Any way that this can be done?
LVL 22
Mal OsborneAlpha GeekAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


You have to change the Title Built-in property

With Dialogs(wdDialogFileSummaryInfo)
     .Title = "My  own Title"
 End With

Open in new window

Mal OsborneAlpha GeekAuthor Commented:
OK, so what exactly do I do with that chunk of code?
How do you want to determine the suggested filename?
Mal OsborneAlpha GeekAuthor Commented:
Pre set somewhere in  the template.
Then Edit the Title of your template

in File Info Properties

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.