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 21
Mal OsborneAlpha GeekAsked:
Who is Participating?
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.

Rgonzo1971Commented:
Hi,

You have to change the Title Built-in property

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

Open in new window

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

in File Info Properties
0

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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.