Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
 
Posts: n/a
Default mailmerge in Word 2002 fails

I've got a VB 6 application that runs mailmerge in word 2000.

I've been trying to upgrade the application to work with word 2002 with
no success. The client wants this yesterday. I've been all over the MS
website and have not come up with a solutin.

The request for the merge is:

With oDobj.ActiveWindow.Document
.MailMerge.OpenDataSource Name:=stConn, SQLStatement:=strSQL,
SubType:=wdMergeSubTypeWord2000
.MailMerge.Execute
.Close False
End With

What I've been playing with is the content of the stConn variable.
According to MS (289830) using a PATH string for the name and the
subtype reference above it should work just fine. It doesn't. I get the
template document open. When the OpenDataSource action fires nothing
happnes.

Any thoughts/comments? TIA

 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailmerge from VB to WORD 2002 with Access [email protected] Mailmerge 5 February 7th 05 05:16 PM
Boiletplates from Word Perfect linda Microsoft Word Help 1 January 28th 05 05:37 PM
Word 2002 installation problems LongTimeAlaskan Microsoft Word Help 1 January 14th 05 03:06 PM
How do I create & merge specific data base & master documents? maggiev New Users 2 January 12th 05 11:30 PM
WP Delay Code - Word Equiv Mike G - Milw, WI Microsoft Word Help 6 January 10th 05 04:12 PM


All times are GMT +1. The time now is 05:52 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"