Re: Mail Merge Function Error
From: Cindy M -WordMVP- (C.Meister-C_at_hispeed.ch)
Date: 08/23/04
- Next message: Cindy M -WordMVP-: "Re: Memory error"
- Previous message: Cindy M -WordMVP-: "Re: VBA code that works in Word2K refuses in Word2K3"
- In reply to: Matthew B: "Mail Merge Function Error"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 23 Aug 2004 19:10:32 +0200
Hi Matthew,
> Recently I upgraded from Win98/Off97 to WinXP/Off2003 as a
> result an Access Database App that previously worked fine
> now fails to run its MailMerge function correctly, and
> fails with the error "error 4605: this method or property
> is not available because it is not a mail merge main document".
>
This will be due to a security measure that was implemented in
more recent versions of Word (and Service Packs) that sever the
data connection when a document is opened using Automation. (In
the UI you get a message prompt).
See this KB article, and note the Registry key you'd have to set
in order to get your code working again.
"Opening This Will Run the Following SQL Command" Message When
You Open a Word Document - 825765
http://support.microsoft.com?kbid=825765
The only other way would be to save the main merge document
without a linked data source, and connect to the data after
opening the document.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8
2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :-)
- Next message: Cindy M -WordMVP-: "Re: Memory error"
- Previous message: Cindy M -WordMVP-: "Re: VBA code that works in Word2K refuses in Word2K3"
- In reply to: Matthew B: "Mail Merge Function Error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|