Macro Working with Word 2007 mail merge

P

Priti L

hi,
i have created a macro to use html file as datasource.
ActiveDocument.MailMerge.OpenDataSource Name:=filenme, _
ConfirmConversions:=True, ReadOnly:=True, LinkToSource:=True, _
AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:="",
_
WritePasswordDocument:="", WritePasswordTemplate:="", Revert:=False,
_
Format:=wdOpenFormatAuto, connection:="", SQLStatement:="",
SQLStatement1 _
:="", OpenExclusive:="", SubType:=wdMergeSubTypeOther

though subtype is given it suppress the select table prompt but its not
going for mail merge
or is there any way to suppress the select table prmpt and go ahead with
the mail merge
Thnks in adavance,
waiting for reply
bye
Priti
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top