I typed in opendatasource into Word VBA Help and the opendatasource method
help had this snippet of help for the connection parameter:
****Quote
Connection Optional Variant. A range within which the query specified by
SQLStatement is to be performed. How you specify the range depends on how
data is retrieved. For example:
> When retrieving data through ODBC, you specify a connection string.
> When retrieving data from Microsoft Excel using dynamic data exchange
(DDE) (Windows only), you specify a named range.
> When retrieving data from Microsoft Access (Windows only), you specify
the word "Table" or "Query" followed by the name of a table or query.
****UnQuote
So create a named range for the worksheet data in Excel and pass that as the
Connection parameter. And maybe a SQLStatement query on that range is not
actually needed, so try it first without using a SQLStatement.
> path shows up as you stated all I need is to get into file for a worksheet it
> is a Excel worksheet in Parade.xls
[quoted text clipped - 19 lines]
>>>
>>> ActiveDocument.MailMerge.OpenDataSource Name:="C:\Parade.xls\MailE.xls",

Signature
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID
Curt - 04 Aug 2007 18:14 GMT
For one learning you are a great asset your explanation makes sense.
Thanks
> I typed in opendatasource into Word VBA Help and the opendatasource method
> help had this snippet of help for the connection parameter:
[quoted text clipped - 37 lines]
> >>>
> >>> ActiveDocument.MailMerge.OpenDataSource Name:="C:\Parade.xls\MailE.xls",
Curt - 06 Aug 2007 14:20 GMT
Gaining on operation noe I am looking as to where I create another OLE app.
Waiting to complets. Any way thanks your expl sure helped
> I typed in opendatasource into Word VBA Help and the opendatasource method
> help had this snippet of help for the connection parameter:
[quoted text clipped - 37 lines]
> >>>
> >>> ActiveDocument.MailMerge.OpenDataSource Name:="C:\Parade.xls\MailE.xls",