Link to home
Start Free TrialLog in
Avatar of Mal Osborne
Mal OsborneFlag for Australia

asked on

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?
Avatar of Rgonzo1971
Rgonzo1971

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
Avatar of Mal Osborne

ASKER

OK, so what exactly do I do with that chunk of code?
How do you want to determine the suggested filename?
Pre set somewhere in  the template.
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial