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.

Re: Propose save file name by Jay

Jay
Wed Feb 20 07:17:51 PST 2008

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.



Re: Propose save file name by AnatoliRejditsch

AnatoliRejditsch
Wed Feb 20 07:39:01 PST 2008

Thank you very much!
I've spent 4 hours for this issue, until you gave me this hint.
What a f**k.
And it is nearly impossible to find the solution at web, because everyone
just reading the title or just set the title and not the proposed file name.

Greetings,
Anatoli Rejditsch.

"Jay Freedman" wrote:

> 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.
>
>
>

Re: Propose save file name by Doug

Doug
Thu Feb 21 04:13:43 PST 2008

Also answered in the other group to which you posted. Please do not post
the same question separately to multiple newsgroups. It wastes everybody's
time answering questions that have already been answered.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Anatoli Rejditsch" <AnatoliRejditsch@discussions.microsoft.com> wrote in
message news:0DBD2D23-07F2-4CEB-BCFD-22B23FD7885C@microsoft.com...
> 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.
>



Re: Propose save file name by Tony

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.
>