We have a application that initializes a word instance to perform a mail
merge. After the merge while executing the following line

objWordApp.ActiveDocument.SaveAs txtOutputfile.Text

We receive the Error message â??Method 'SaveAs' of object '_Document' failedâ??
We are not sure why it does that.

Does the template have any issues? If so how do we correct it?

Any help will be appreciated


Thanks
Naga

Re: Method 'SaveAs' of object '_Document' failed by Doug

Doug
Fri Oct 28 15:07:37 CDT 2005

Answered in mailmerge fields newsgroup. Please do not post the same
question separately to multiple newsgroups.

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

"Naveen" <Naveen@discussions.microsoft.com> wrote in message
news:D8E8EA7F-7010-484D-AF76-2C82C6488261@microsoft.com...
> We have a application that initializes a word instance to perform a mail
> merge. After the merge while executing the following line
>
> objWordApp.ActiveDocument.SaveAs txtOutputfile.Text
>
> We receive the Error message "Method 'SaveAs' of object '_Document'
> failed"
> We are not sure why it does that.
>
> Does the template have any issues? If so how do we correct it?
>
> Any help will be appreciated
>
>
> Thanks
> Naga
>
>
>