Tony
Fri Feb 22 04:23:07 PST 2008
An easier workaround would seem to be that good old fallback ...
WordBasic.SetDocumentProperty "Title", 0, "My Title"
--
Enjoy,
Tony
"Jay Freedman" <jay.freedman@verizon.net> wrote in message
news:eRJ7CP9cIHA.4696@TK2MSFTNGP05.phx.gbl...
> Anatoli Rejditsch wrote:
>> Hi.
>>
>> I'm developing an applicaiton, that starts the word, opens a document
>> based on a template and fill some information in it. Then the user
>> can modify this document.
>> If the user wants to save it, the file name in the SaveAs-dialog is
>> "document.doc"
>>
>> The question is: how can I set the proposed name of document by my
>> application?
>>
>> Thanks a lot.
>> Anatoli Rejditsch.
>
> Set the Title document property, which will then appear as the suggested
> file name. There's a workaround for a bug in this:
>
http://word.mvps.org/faqs/macrosvba/SetDefFilename.htm
>
> --
> Regards,
> Jay Freedman
> Microsoft Word MVP FAQ:
http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the newsgroup
> so all may benefit.
>