What kind of Data Table? If you are talking about an ADO.NET data object,
the answer is that you cannot set a mail merge data source to be an object
inside a process - the data source has to be an external file of some kind,
e.g. a text file, table inside a .mdb, table inside a SQL database
accessible via OLEDB or ODBC, etc.
How are you actually coding the "refresh" ? If you are doing an
OpenDataSource in Word, you /may/ need to disconnect the data source first,
e.g.
ActiveDocument.MailMerge.DocumentType = wdNotAMergeDocument
However, if you do that, you will lose any sort/filter options that may have
been set, and you may also need to re-establish the Mail Merge Main Document
type.
Peter Jamieson
> Hi All
> Is it possible to set Data Table as Mail Merge data source?????
[quoted text clipped - 11 lines]
> With best regards
> Qumer